Comment # 2
on bug 9200
from Guy Harris
Second problem: pcap_read_simple_packet_block() was calculating the captured
length as the length of the block minus the sum of (the length of the block
trailer and the length of the packet length field), but it should calculate it
as the *minimum* of that and the packet length.
Fix for that problem checked in as r52241 and backported to the 1.10 and 1.8
branches.
Third problem: it *should* be subtracting the length of the block header and
the block type as well.
Fix for that problem checked in as r52244 and backported to the 1.10 and 1.8
branches.
You are receiving this mail because:
- You are watching all bug changes.