]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Revert r361209:
authorMichael Tuexen <tuexen@FreeBSD.org>
Tue, 19 May 2020 07:21:11 +0000 (07:21 +0000)
committerMichael Tuexen <tuexen@FreeBSD.org>
Tue, 19 May 2020 07:21:11 +0000 (07:21 +0000)
commit821bae7cf3eb286d39bc467b00508d55afad5092
tree7ba76b5e14f387d1c779ba09aa57dd333157b5c7
parent6c9dbd8b132ed449aa11737414e83e5ebf08c9bf
Revert r361209:

cem noted that on FreeBSD snprintf() can not fail and code should not
check for that.

A followup commit will replace the usage of snprintf() in the SCTP
sources with a variadic macro SCTP_SNPRINTF, which will simply map to
snprintf() on FreeBSD and do a checking similar to r361209 on
other platforms.
sys/netinet/sctp_asconf.c
sys/netinet/sctp_indata.c
sys/netinet/sctp_input.c
sys/netinet/sctp_output.c
sys/netinet/sctp_pcb.c