]> The Tcpdump Group git mirrors - libpcap/commit
dag-pcap was not correctly handling ERF records with extension headers.
authorsfd <[email protected]>
Mon, 25 Aug 2014 22:55:56 +0000 (10:55 +1200)
committersfd <[email protected]>
Mon, 25 Aug 2014 22:55:56 +0000 (10:55 +1200)
commit62f4d9e78cd48722a6c83726c6fc598bb9597979
tree662ee5ea4456d6df08032c683d620758ebd62c08
parentf45b92c7a3f99a1b664bca1e58a85d9ba7a026b3
dag-pcap was not correctly handling ERF records with extension headers.

It was subtracting the extension header count from caplen after reducing it to packet_len, resulting in truncated records.
pcap-dag.c