ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 9200] Wireshark can't open PCAPng files using Simple Packe

Date: Sat, 28 Sep 2013 18:29:49 +0000

Comment # 2 on bug 9200 from
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.