Wireshark-bugs: [Wireshark-bugs] [Bug 6625] New: xmpp decoder crashes when xml is disabled

Date: Tue, 29 Nov 2011 03:23:16 -0800 (PST)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6625

           Summary: xmpp decoder crashes when xml is disabled
           Product: Wireshark
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Low
         Component: TShark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: sbin23435@xxxxxxxxxxxxxx


Build Information:
TShark 1.7.1 (SVN Rev 40033 from /trunk)

Compiled (64-bit) with GLib 2.30.0, with libpcap 1.1.1, with libz 1.2.3.4, with
POSIX capabilities (Linux), with SMI 0.4.8, with c-ares 1.7.4, with Lua 5.1,
without Python, with GnuTLS 2.10.5, with Gcrypt 1.5.0, with MIT Kerberos, with
GeoIP.

Built using gcc 4.6.1.
--
wireshark segmentation fault when opening xmpp trace, but with xml in
disabled_protos

gdb backtrace:

#0  xmpp_xml_frame_to_element_t (xml_frame=0x7fff00000000, parent=0x0, 
    tvb=0x16df0c0)
    at ../../../wireshark/epan/dissectors/packet-xmpp-utils.c:537
#1  0x00007ffff5ad1473 in dissect_xmpp (tvb=0x16df0c0, pinfo=0x7fffffffd820, 
    tree=0x7ffff7fef000)
    at ../../../wireshark/epan/dissectors/packet-xmpp.c:454
#2  0x00007ffff543d6c0 in call_dissector_through_handle (handle=0x1320c70, 
    tvb=0x16df0c0, pinfo=0x7fffffffd820, tree=0x7ffff7fef000)
    at ../../wireshark/epan/packet.c:386

probably because xml cannot be called, so the private_info is presumably
wrong(?) but not NULL, and the first_child is not in valid memory

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