HomeFreeBSD

Honor the memory limits provided when processing the IPPROTO_SCTP

Description

Honor the memory limits provided when processing the IPPROTO_SCTP
level socket option SCTP_GET_LOCAL_ADDRESSES in a getsockopt() call.

Thanks to Thomas Barabosch for reporting the issue which was found by
running syzkaller.

MFC after: 3 days

Details

Committed
tuexenMar 1 2019, 6:47 PM
Parents
rS344707: MFC r344691:
Branches
Unknown
Tags
Unknown