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 1511] New: gassert in packet-pana.c lead to a crash.

Date: Wed, 4 Apr 2007 08:41:14 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1511

           Summary: gassert in packet-pana.c lead to a crash.
           Product: Wireshark
           Version: SVN
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: Low
         Component: TShark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: florent.drouin@xxxxxxxxxx


Build Information:
shark@petrus:~/wireshark_SVN20838.fuzz$ ./tshark -v
TShark 0.99.6 (SVN Rev 20838)

Copyright 1998-2007 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GLib 2.6.4, with libpcap 0.9.5, with libz 1.2.2, with libpcre
4.5,
without Net-SNMP, with ADNS, without Lua, with GnuTLS 1.0.16, with Gcrypt
1.2.0,
without Kerberos.

Running on Linux 2.6.17.3, with libpcap version 0.9.5.

Built using gcc 3.3.5 (Debian 1:3.3.5-13).

--
During fuzz testing, I found a capture file with an incorrect length. This bad
length is detected with a g_assert, this causes tshark to be killed.
I suggest to replace the g_assert by a return.


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