Wireshark-bugs: [Wireshark-bugs] [Bug 3925] Crash while loading a pcap file

Date: Sat, 22 Aug 2009 14:04:27 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3925


Bill Meier <wmeier@xxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED




--- Comment #3 from Bill Meier <wmeier@xxxxxxxxxxx>  2009-08-22 14:04:24 PDT ---
As Joan indicated, the .pcap file seems pretty messed up.   ;)

Reading this file is essentially a stress test (aka a "fuzz-test") for
Wireshark/Tshark.

Data in frame #43 caused the fcoe dissector to pass an invalid buffer length
parameter to a function which computes a crc on a buffer.

I've committed a fix (SVN #29505) for the crash; Essentially:  certain of the
crc calculation functions now do some additional validation of the length
parameter they receive.

(I'll commit a second fix in a day or so to add some additional defensive
coding to the fcoe dissector itself).

Thanks for the report.


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