Wireshark-bugs: [Wireshark-bugs] [Bug 7533] mem corruption\heap corruption\div0 bugs

Date: Fri, 27 Jul 2012 10:55:58 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7533

Michael Mann <mmann78@xxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mmann78@xxxxxxxxxxxx

--- Comment #8 from Michael Mann <mmann78@xxxxxxxxxxxx> 2012-07-27 10:55:58 PDT ---
(In reply to comment #2)
> Created attachment 8849 [details]
> Div by 0 crash in pcapng_read_packet_block()
> (capture file extracted from original .7z file)
> Crash is because of a zero divisor in
> wblock->packet_header->ts.secs = (time_t)(ts / int_data.time_units_per_second);

This seems to be because the pcapng format expects the IDB block to immediately
follow the SHB block.  In this file a block of type 28417 (0x6F01) (treated as
"unknown") follows the SHB block, not an IDB block.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.