]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r339024:
authortuexen <tuexen@FreeBSD.org>
Thu, 16 May 2019 08:17:32 +0000 (08:17 +0000)
committertuexen <tuexen@FreeBSD.org>
Thu, 16 May 2019 08:17:32 +0000 (08:17 +0000)
commit1aa1ce1a0d060c1a16cda4704216e1454ee01360
treef0df18ad9e9e678c6597c2e7249355c68383ddf7
parent571eb2bb7ba178aebaf03757d1c5bcc1b021094d
MFC r339024:

Fix the handling of ancillary data for SCTP socket. Implement
sctp_process_cmsgs_for_init() and sctp_findassociation_cmsgs()
similar to sctp_find_cmsg() to improve consistency and avoid
the signed/unsigned issues in sctp_process_cmsgs_for_init()
and sctp_findassociation_cmsgs().

Thanks to andrew@ for reporting the problem he found using
syzcaller.
sys/netinet/sctp_output.c