32af08ecad
After r354748 mld_input() can change the mbuf. The new pointer is never returned to icmp6_input() and when passed to icmp6_rip6_input() the mbuf may no longer valid leading to a panic. Pass a pointer to the mbuf to mld_input() so we can return an updated version in the non-error case. Add a test sending an MLD packet case which will trigger this bug. Pointyhat to: bz Reported by: gallatin, thj MFC After: 2 weeks X-MFC with: r354748 Sponsored by: Netflix
24 lines
386 B
Makefile
24 lines
386 B
Makefile
# $FreeBSD$
|
|
|
|
PACKAGE= tests
|
|
|
|
TESTSDIR= ${TESTSBASE}/sys/netinet6
|
|
FILESDIR= ${TESTSDIR}
|
|
|
|
ATF_TESTS_SH= \
|
|
exthdr \
|
|
mld \
|
|
scapyi386
|
|
|
|
${PACKAGE}FILES+= exthdr.py
|
|
${PACKAGE}FILES+= mld.py
|
|
${PACKAGE}FILES+= scapyi386.py
|
|
|
|
${PACKAGE}FILESMODE_exthdr.py= 0555
|
|
${PACKAGE}FILESMODE_mld.py= 0555
|
|
${PACKAGE}FILESMODE_scapyi386.py=0555
|
|
|
|
TESTS_SUBDIRS+= frag6
|
|
|
|
.include <bsd.test.mk>
|