Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-bugs: [Wireshark-bugs] [Bug 6665] New: Corrupted tpncp.dat file that crashes Wireshark

Date: Mon, 12 Dec 2011 13:50:06 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6665

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


Created an attachment (id=7575)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=7575)
Corrupted tpncp.dat 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 TPNCP file that crashes Wireshark.

----

Program received signal SIGSEGV, Segmentation fault.
__strcmp_ia32 () at ../sysdeps/i386/i686/multiarch/../strcmp.S:40
40    ../sysdeps/i386/i686/multiarch/../strcmp.S: No such file or directory.
    in ../sysdeps/i386/i686/multiarch/../strcmp.S
(gdb) bt
#0  __strcmp_ia32 () at ../sysdeps/i386/i686/multiarch/../strcmp.S:40
#1  0x00dae5b6 in get_enum_name_val (enum_name=<optimized out>)
    at packet-tpncp.c:432
#2  init_tpncp_data_fields_info (data_fields_info=0x2400700, file=0x8505288)
    at packet-tpncp.c:634
#3  0x00daf4b3 in init_tpncp_db () at packet-tpncp.c:701
#4  proto_register_tpncp () at packet-tpncp.c:756
#5  0x0105732a in register_all_protocols (cb=0, client_data=0x0)
    at register.c:885
#6  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
#7  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
#8  0x08050281 in main (argc=1, argv=0xbfffec44) 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.