[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-5] src/sys/dist/ipf/netinet
Module Name: src
Committed By: snj
Date: Thu Feb 19 20:33:39 UTC 2009
src/sys/dist/ipf/netinet [netbsd-5]: ip_fil_netbsd.c
Pull up following revision(s) (requested by bouyer in ticket #456):
sys/dist/ipf/netinet/ip_fil_netbsd.c: revision 1.48
When IPFilter 4.1.29 has been imported, the mbuf argument to nd6_output()
has been changed from m0 to *mpp. But as *mpp has been set to NULL just
before the call, we end up calling ether_output() with a NULL mbuf,
leading to a NULL pointer dereference. Revert back to using m0 here.
The issue show up when using 'return-rst' or 'return-icmp' in ipf6.conf.
Problem discovered and fix tested on ftp.fr.netbsd.org.
To generate a diff of this commit:
cvs rdiff -r1.46 -r220.127.116.11 src/sys/dist/ipf/netinet/ip_fil_netbsd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Main Index |
Thread Index |