f161d294b9
Several protocol methods take a sockaddr as input. In some cases the sockaddr lengths were not being validated, or were validated after some out-of-bounds accesses could occur. Add requisite checking to various protocol entry points, and convert some existing checks to assertions where appropriate. Reported by: syzkaller+KASAN Reviewed by: tuexen, melifaro MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D29519 |
||
---|---|---|
.. | ||
sdp_bcopy.c | ||
sdp_cma.c | ||
sdp_dbg.h | ||
sdp_main.c | ||
sdp_proc.c | ||
sdp_rx.c | ||
sdp_tx.c | ||
sdp_zcopy.c | ||
sdp.h |