Wireshark-bugs: [Wireshark-bugs] [Bug 6664] New: Corrupted Diameter dictionary file that crashes
Date: Mon, 12 Dec 2011 13:41:58 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6664

           Summary: Corrupted Diameter dictionary file that crashes
                    Wireshark
           Product: Wireshark
           Version: 1.6.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Critical
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: laurentb@xxxxxxxxx


Created an attachment (id=7574)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=7574)
Corrupted dictionary file

Build Information:
TShark 1.6.4 (SVN Rev Unknown from unknown)

Copyright 1998-2011 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 (32-bit) with GLib 2.30.0, with libpcap 1.1.1, with libz 1.2.3.4,
without POSIX capabilities, without libpcre, without SMI, without c-ares,
without ADNS, without Lua, without Python, without GnuTLS, without Gcrypt, with
MIT Kerberos, without GeoIP.

Running on Linux 3.0.0-13-generic, with libpcap version 1.1.1, with libz
1.2.3.4.

Built using gcc 4.6.1.
--
Here is a corrupted Diameter dictionary file that crashes Wireshark.

----

Program received signal SIGSEGV, Segmentation fault.
strcase_hash (key=0x0) at packet-diameter.c:1320
1320        guint h = *p;

#0  strcase_hash (key=0x0) at packet-diameter.c:1320
#1  0x0265bf68 in g_hash_table_lookup ()
   from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x00924968 in dictionary_load () at packet-diameter.c:1404
#3  proto_register_diameter () at packet-diameter.c:1679
#4  0x0105659a in register_all_protocols (cb=0, client_data=0x0)
    at register.c:234
#5  0x0070b1ad in proto_init (
    register_all_protocols_func=0x804eb20 <register_all_protocols@plt>, 
    register_all_handoffs_func=0x804f2b0 <register_all_protocol_handoffs@plt>, 
    cb=0, client_data=0x0) at proto.c:395
#6  0x006ee169 in epan_init (
    register_all_protocols_func=0x804eb20 <register_all_protocols@plt>, 
    register_all_handoffs_func=0x804f2b0 <register_all_protocol_handoffs@plt>, 
    cb=0, client_data=0x0, report_failure_fcn_p=0x806c2d0 <failure_message>, 
    report_open_failure_fcn_p=0x806c350 <open_failure_message>, 
    report_read_failure_fcn_p=0x806e230 <read_failure_message>, 
    report_write_failure_fcn_p=0x806e200 <write_failure_message>) at epan.c:104
#7  0x08050281 in main (argc=1, argv=0xbfffec34) at tshark.c:938

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