Date: Fri, 3 Jun 2011 14:57:38 +0000 (UTC) From: "Christian S.J. Peron" <csjp@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/contrib/libpcap pcap-bpf.c Message-ID: <201106031457.p53Evm5V039679@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
csjp 2011-06-03 14:57:38 UTC
FreeBSD src repository
Modified files:
contrib/libpcap pcap-bpf.c
Log:
SVN rev 222654 on 2011-06-03 14:57:38Z by csjp
Explicitly initialize the packet buffer to NULL after we unmap the zero copy
buffers. This fixes a segfault on exit due to calling free on a bogus pointer.
This should be considered a temporary stop gap fix to avoid the crash. The
complete fix re-shuffles the initializations of some of the clean-up pointers.
The details of the fix can be found in the libpcap git repository:
commit bc8209b71e928870b0f172d43b174ab27ba24394
Proded by: kevlo, rpaulo
MFC after: 2 weeks
Submitted by: Anton Yuzhaninov
Revision Changes Path
1.10 +1 -0 src/contrib/libpcap/pcap-bpf.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106031457.p53Evm5V039679>
