Wireshark-bugs: [Wireshark-bugs] [Bug 3690] New: Fail for Stack smashing detected in Tshark for

Date: Thu, 9 Jul 2009 07:14:44 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3690

           Summary: Fail for Stack smashing detected in Tshark for M3UA
                    stacks
           Product: Wireshark
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Low
         Component: TShark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: nelson.bermudez@xxxxxxxxxx


Build Information:
TShark 1.0.7

Copyright 1998-2009 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.20.1, with libpcap 1.0.0, with libz 1.2.3.3, with POSIX
capabilities (Linux), with libpcre 7.8, without SMI, with ADNS, with Lua 5.1,
with GnuTLS 2.4.2, with Gcrypt 1.4.1, with MIT Kerberos.

Running on Linux 2.6.28-13-generic, with libpcap version 1.0.0.

Built using gcc 4.3.3.

--
For obtain the stats for cap file:
nelsonbermudez@BOGNBERMUDEZ:~/Escritorio$ tshark -q -zio,phs
-Xlua_script:trace_stats.lua -r trazado_bicc.pcap 
*** stack smashing detected ***: tshark terminated
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb626ada8]
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x0)[0xb626ad60]
/usr/lib/wireshark/libwireshark.so.0[0xb72e3814]
/usr/lib/wireshark/libwireshark.so.0[0xb6cf188b]
/usr/lib/wireshark/libwireshark.so.0[0xb6cf347c]
/usr/lib/wireshark/libwireshark.so.0[0xb6cee88a]
/usr/lib/wireshark/libwireshark.so.0[0xb6a682e5]
/usr/lib/wireshark/libwireshark.so.0[0xb6a68aa7]
/usr/lib/wireshark/libwireshark.so.0(dissector_try_port+0x42)[0xb6a69ca2]
/usr/lib/wireshark/libwireshark.so.0[0xb70b00fa]
/usr/lib/wireshark/libwireshark.so.0(dissect_ber_sequence+0x610)[0xb6b49d90]
/usr/lib/wireshark/libwireshark.so.0[0xb70a0754]
/usr/lib/wireshark/libwireshark.so.0(dissect_ber_choice+0x1e9)[0xb6b43729]
/usr/lib/wireshark/libwireshark.so.0[0xb70a5edf]
/usr/lib/wireshark/libwireshark.so.0[0xb6a682e5]
/usr/lib/wireshark/libwireshark.so.0[0xb6a68aa7]
/usr/lib/wireshark/libwireshark.so.0(call_dissector+0x3a)[0xb6a68c3a]
/usr/lib/wireshark/libwireshark.so.0[0xb7235908]
/usr/lib/wireshark/libwireshark.so.0[0xb6b4692f]
/usr/lib/wireshark/libwireshark.so.0[0xb7234e04]
/usr/lib/wireshark/libwireshark.so.0(dissect_ber_tagged_type+0x1f4)[0xb6b42d44]
/usr/lib/wireshark/libwireshark.so.0[0xb7233ec2]
/usr/lib/wireshark/libwireshark.so.0(dissect_ber_sequence+0x610)[0xb6b49d90]
/usr/lib/wireshark/libwireshark.so.0[0xb72333a9]
/usr/lib/wireshark/libwireshark.so.0(dissect_ber_choice+0x1e9)[0xb6b43729]
/usr/lib/wireshark/libwireshark.so.0[0xb72360fd]
/usr/lib/wireshark/libwireshark.so.0[0xb6a682e5]
/usr/lib/wireshark/libwireshark.so.0[0xb6a68aa7]
/usr/lib/wireshark/libwireshark.so.0(dissector_try_port+0x42)[0xb6a69ca2]
/usr/lib/wireshark/libwireshark.so.0[0xb7034374]
/usr/lib/wireshark/libwireshark.so.0[0xb7035c79]
/usr/lib/wireshark/libwireshark.so.0[0xb70368d5]
/usr/lib/wireshark/libwireshark.so.0[0xb7037c84]
/usr/lib/wireshark/libwireshark.so.0[0xb6a682e5]
/usr/lib/wireshark/libwireshark.so.0[0xb6a68aa7]
/usr/lib/wireshark/libwireshark.so.0(dissector_try_port+0x42)[0xb6a69ca2]
/usr/lib/wireshark/libwireshark.so.0[0xb6db6b45]
/usr/lib/wireshark/libwireshark.so.0[0xb6a682e5]
/usr/lib/wireshark/libwireshark.so.0[0xb6a68aa7]
/usr/lib/wireshark/libwireshark.so.0(dissector_try_port+0x42)[0xb6a69ca2]
/usr/lib/wireshark/libwireshark.so.0[0xb703e388]
/usr/lib/wireshark/libwireshark.so.0[0xb703ec59]
/usr/lib/wireshark/libwireshark.so.0[0xb7043317]
/usr/lib/wireshark/libwireshark.so.0[0xb7043b5a]
/usr/lib/wireshark/libwireshark.so.0[0xb7044469]
/usr/lib/wireshark/libwireshark.so.0[0xb6a682e5]
/usr/lib/wireshark/libwireshark.so.0[0xb6a68aa7]
/usr/lib/wireshark/libwireshark.so.0(dissector_try_port+0x42)[0xb6a69ca2]
/usr/lib/wireshark/libwireshark.so.0[0xb6d484fa]
/usr/lib/wireshark/libwireshark.so.0[0xb6a682e5]
/usr/lib/wireshark/libwireshark.so.0[0xb6a68aa7]
/usr/lib/wireshark/libwireshark.so.0(dissector_try_port+0x42)[0xb6a69ca2]
/usr/lib/wireshark/libwireshark.so.0(ethertype+0x450)[0xb6c6b590]
/usr/lib/wireshark/libwireshark.so.0[0xb6c6822d]
/usr/lib/wireshark/libwireshark.so.0[0xb6a682e5]
/usr/lib/wireshark/libwireshark.so.0[0xb6a68aa7]
/usr/lib/wireshark/libwireshark.so.0(dissector_try_port+0x42)[0xb6a69ca2]
/usr/lib/wireshark/libwireshark.so.0[0xb6cb51ef]
/usr/lib/wireshark/libwireshark.so.0[0xb6a682e5]
/usr/lib/wireshark/libwireshark.so.0[0xb6a68aa7]
/usr/lib/wireshark/libwireshark.so.0(call_dissector+0x3a)[0xb6a68c3a]
/usr/lib/wireshark/libwireshark.so.0(dissect_packet+0x426)[0xb6a6a816]
/usr/lib/wireshark/libwireshark.so.0(epan_dissect_run+0x3e)[0xb6a60f3e]
======= Memory map: ========
08048000-08071000 r-xp 00000000 08:06 109194     /usr/bin/tshark
08071000-08072000 r--p 00028000 08:06 109194     /usr/bin/tshark
08072000-08073000 rw-p 00029000 08:06 109194     /usr/bin/tshark
08073000-08086000 rw-p 08073000 00:00 0 
08e26000-09b37000 rw-p 08e26000 00:00 0          [heap]
b0ae6000-b0ae7000 rw-p b0ae6000 00:00 0 
b0ae7000-b0ae8000 ---p b0ae7000 00:00 0 
b0ae8000-b14e5000 rw-p b0ae8000 00:00 0 
b14e5000-b14e6000 ---p b14e5000 00:00 0 
b14e6000-b14e7000 rw-p b14e6000 00:00 0 
b14e7000-b14e8000 ---p b14e7000 00:00 0 
b14e8000-b1ee5000 rw-p b14e8000 00:00 0 
b1ee5000-b1ee6000 ---p b1ee5000 00:00 0 
b1ee6000-b1ee7000 rw-p b1ee6000 00:00 0 
b1ee7000-b1ee8000 ---p b1ee7000 00:00 0 
b1ee8000-b28e5000 rw-p b1ee8000 00:00 0 
b28e5000-b28e6000 ---p b28e5000 00:00 0 
b28e6000-b29a8000 rw-p b28e6000 00:00 0 
b29a8000-b29a9000 ---p b29a8000 00:00 0 
b29a9000-b33a6000 rw-p b29a9000 00:00 0 
b33a6000-b33a7000 ---p b33a6000 00:00 0 
b33a7000-b33a8000 rw-p b33a7000 00:00 0 
b33a8000-b33a9000 ---p b33a8000 00:00 0 
b33a9000-b3da6000 rw-p b33a9000 00:00 0 
b3da6000-b3da7000 ---p b3da6000 00:00 0 
b3deb000-b3df8000 r-xp 00000000 08:06 270401     /lib/libgcc_s.so.1
b3df8000-b3df9000 r--p 0000c000 08:06 270401     /lib/libgcc_s.so.1
b3df9000-b3dfa000 rw-p 0000d000 08:06 270401     /lib/libgcc_s.so.1
b3e08000-b3e09000 rw-p b3e08000 00:00 0 
b3e09000-b3e0a000 ---p b3e09000 00:00 0 
b3e0a000-b4807000 rw-p b3e0a000 00:00 0 
b4807000-b4808000 ---p b4807000 00:00 0 
b4808000-b4809000 rw-p b4808000 00:00 0 
b4809000-b480a000 ---p b4809000 00:00 0 
b480a000-b5207000 rw-p b480a000 00:00 0 
b5207000-b5208000 ---p b5207000 00:00 0 
b5208000-b52f3000 r--p 00000000 08:06 139994    
/usr/lib/locale/es_CO.utf8/LC_COLLATE
b52f3000-b533f000 rw-p b5662000 00:00 0 
b5345000-b5384000 r--p 00000000 08:06 139852    
/usr/lib/locale/es_CO.utf8/LC_CTYPE
b5384000-b538b000 r--s 00000000 08:06 57587     
/usr/lib/gconv/gconv-modules.cache
b538b000-b5396000 r-xp 00000000 08:06 224980    
/usr/lib/wireshark/plugins/tango.so
b5396000-b5397000 r--p 0000a000 08:06 224980    
/usr/lib/wireshark/plugins/tango.so
b5397000-b5398000 rw-p 0000b000 08:06 224980    
/usr/lib/wireshark/plugins/tango.so
b5398000-b5416000 r-xp 00000000 08:06 224986    
/usr/lib/wireshark/plugins/wimax.so
b5416000-b5417000 ---p 0007e000 08:06 224986    
/usr/lib/wireshark/plugins/wimax.so
b5417000-b541a000 r--p 0007e000 08:06 224986    
/usr/lib/wireshark/plugins/wimax.so
b541a000-b5433000 rw-p 00081000 08:06 224986    
/usr/lib/wireshark/plugins/wimax.so
b5433000-b5434000 rw-p b5433000 00:00 0 
b5434000-b543c000 r-xp 00000000 08:06 224984    
/usr/lib/wireshark/plugins/v5ua.so
b543c000-b543d000 ---p 00008000 08:06 224984    
/usr/lib/wireshark/plugins/v5ua.so
b543d000-b543e000 r--p 00008000 08:06 224984    
/usr/lib/wireshark/plugins/v5ua.so
b543e000-b5440000 rw-p 00009000 08:06 224984    
/usr/lib/wireshark/plugins/v5ua.so
b5440000-b5455000 r-xp 00000000 08:06 224958    
/usr/lib/wireshark/plugins/mate.so
b5455000-b5456000 r--p 00015000 08:06 224958    
/usr/lib/wireshark/plugins/mate.so
b5456000-b5457000 rw-p 00016000 08:06 224958    
/usr/lib/wireshark/plugins/mate.so
b5457000-b5469000 rw-p b5457000 00:00 0 
b5469000-b546e000 r-xp 00000000 08:06 224972    
/usr/lib/wireshark/plugins/rtnet.so
b546e000-b546f000 r--p 00004000 08:06 224972    
/usr/lib/wireshark/plugins/rtnet.so
b546f000-b5470000 rw-p 00005000 08:06 224972    
/usr/lib/wireshark/plugins/rtnet.so
b5470000-b547e000 r-xp 00000000 08:06 224988    
/usr/lib/wireshark/plugins/wimaxasncp.so
b547e000-b547f000 r--p 0000d000 08:06 224988    
/usr/lib/wireshark/plugins/wimaxasncp.so
b547f000-b5480000 rw-p 0000e000 08:06 224988    
/usr/lib/wireshark/plugins/wimaxasncp.so
b5480000-b5483000 r-xp 00000000 08:06 224944    
/usr/lib/wireshark/plugins/enttec.so
b5483000-b5484000 r--p 00002000 08:06 224944    
/usr/lib/wireshark/plugins/enttec.so
b5484000-b5485000 rw-p 00003000 08:06 224944    
/usr/lib/wireshark/plugins/enttec.so
b5485000-b5487000 r-xp 00000000 08:06 224974    
/usr/lib/wireshark/plugins/rudp.so
b5487000-b5488000 r--p 00001000 08:06 224974    
/usr/lib/wireshark/plugins/rudp.so
b5488000-b5489000 rw-p 00002000 08:06 224974    
/usr/lib/wireshark/plugins/rudp.so
b5489000-b548c000 r-xp 00000000 08:06 224940    
/usr/lib/wireshark/plugins/cosnaming.so
b548c000-b548d000 r--p 00002000 08:06 224940    
/usr/lib/wireshark/plugins/cosnaming.so
b548d000-b548e000 rw-p 00003000 08:06 224940    
/usr/lib/wireshark/plugins/cosnaming.so
b548e000-b54a2000 r-xp 00000000 08:06 224950    
/usr/lib/wireshark/plugins/infiniband.so
b54a2000-b54a3000 r--p 00014000 08:06 224950    
/usr/lib/wireshark/plugins/infiniband.so
b54a3000-b54a9000 rw-p 00015000 08:06 224950    
/usr/lib/wireshark/plugins/infiniband.so
b54a9000-b54b5000 r-xp 00000000 08:06 224948    
/usr/lib/wireshark/plugins/gryphon.so
b54b5000-b54b6000 r--p 0000c000 08:06 224948    
/usr/lib/wireshark/plugins/gryphon.so
b54b6000-b54b7000 rw-p 0000d000 08:06 224948    
/usr/lib/wireshark/plugins/gryphon.so
b54b7000-b54bf000 r-xp 00000000 08:06 224932    
/usr/lib/wireshark/plugins/artnet.so
b54bf000-b54c0000 r--p 00007000 08:06 224932    
/usr/lib/wireshark/plugins/artnet.so
b54c0000-b54c3000 rw-p 00008000 08:06 224932    
/usr/lib/wireshark/plugins/artnet.so
b54c3000-b54de000 r-xp 00000000 08:06 224942    
/usr/lib/wireshark/plugins/docsis.so
b54de000-b54df000 r--p 0001b000 08:06 224942    
/usr/lib/wireshark/plugins/docsis.so
b54df000-b54e6000 rw-p 0001c000 08:06 224942    
/usr/lib/wireshark/plugins/docsis.so
b54e6000-b54fb000 r-xp 00000000 08:06 224982    
/usr/lib/wireshark/plugins/unistim.so
b54fb000-b54fd000 r--p 00015000 08:06 224982    
/usr/lib/wireshark/plugins/unistim.so
b54fd000-b5502000 rw-p 00017000 08:06 224982    
/usr/lib/wireshark/plugins/unistim.so
b5502000-b5513000 r-xp 00000000 08:06 224934    
/usr/lib/wireshark/plugins/asn1.so
b5513000-b5514000 ---p 00011000 08:06 224934    
/usr/lib/wireshark/plugins/asn1.so
b5514000-b5515000 r--p 00011000 08:06 224934    
/usr/lib/wireshark/plugins/asn1.so
b5515000-b5516000 rw-p 00012000 08:06 224934    
/usr/lib/wireshark/plugins/asn1.so
b5516000-b551a000 rw-p b5516000 00:00 0 
b551a000-b55d1000 r-xp 00000000 08:06 224964    
/usr/lib/wireshark/plugins/parlay.so
b55d1000-b55d3000 r--p 000b7000 08:06 224964    
/usr/lib/wireshark/plugins/parlay.so
b55d3000-b55d4000 rw-p 000b9000 08:06 224964    
/usr/lib/wireshark/plugins/parlay.so
b55d4000-b560f000 r-xp 00000000 08:06 224968    
/usr/lib/wireshark/plugins/profinet.so
b560f000-b5610000 ---p 0003b000 08:06 224968    
/usr/lib/wireshark/plugins/profinet.so
b5610000-b5612000 r--p 0003b000 08:06 224968    
/usr/lib/wireshark/plugins/profinet.so
b5612000-b561c000 rw-p 0003d000 08:06 224968    
/usr/lib/wireshark/plugins/profinet.so
b561c000-b5626000 r-xp 00000000 08:06 287969    
/lib/tls/i686/cmov/libnss_files-2.9.so
b5626000-b5627000 r--p 00009000 08:06 287969    
/lib/tls/i686/cmov/libnss_files-2.9.so
b5627000-b5628000 rw-p 0000a000 08:06 287969    
/lib/tls/i686/cmov/libnss_files-2.9.so
b5628000-b5631000 r-xp 00000000 08:06 287973    
/lib/tls/i686/cmov/libnss_nis-2.9.so
b5631000-b5632000 r--p 00008000 08:06 287973    
/lib/tls/i686/cmov/libnss_nis-2.9.so
b5632000-b5633000 rw-p 00009000 08:06 287973    
/lib/tls/i686/cmov/libnss_nis-2.9.so
b5633000-b5648000 r-xp 00000000 08:06 287963    
/lib/tls/i686/cmov/libnsl-2.9.so
b5648000-b5649000 r--p 00014000 08:06 287963    
/lib/tls/i686/cmov/libnsl-2.9.so
b5649000-b564a000 rw-p 00015000 08:06 287963    
/lib/tls/i686/cmov/libnsl-2.9.so
b564a000-b564c000 rw-p b564a000 00:00 0 
b564c000-b5653000 r-xp 00000000 08:06 287965    
/lib/tls/i686/cmov/libnss_compat-2.9.so
b5653000-b5654000 r--p 00006000 08:06 287965    
/lib/tls/i686/cmov/libnss_compat-2.9.so
b5654000-b5655000 rw-p 00007000 08:06 287965    
/lib/tls/i686/cmov/libnss_compat-2.9.so
b5659000-b565a000 rw-p b5659000 00:00 0 
b565a000-b565b000 r--p 00000000 08:06 140000    
/usr/lib/locale/es_CO.utf8/LC_NUMERIC
b565b000-b565c000 r--p 00000000 08:06 140003    
/usr/lib/locale/es_CO.utf8/LC_TIME
b565c000-b565d000 r--p 00000000 08:06 140007     /usCancelado


The file contains IP,SCTP,DCHP and STP packets


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