Ethereal-dev: [Ethereal-dev] seg. fault in dissect_x25

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Marcin Gryszkalis <mgryszkalis@xxxxxxxxx>
Date: Wed, 03 Apr 2002 15:31:09 +0200
tethereal 0.9.3, with GLib 1.2.10, with libpcap 0.7, with libz 1.1.3, without UCD SNMP, FreeBSD 4.5 stable

I think the packet is bad (I don't think I have anything on x.25 here.
packet attached

#0 0x81dabb0 in dissect_x25 (tvb=0x841a0e8, pinfo=0x83f9a08, tree=0x8419818) at packet-x25.c:1891 1891 col_add_fstr(pinfo->cinfo, COL_INFO, "%s VC:%d %s - Diag.:%d",
(gdb) bt
#0 0x81dabb0 in dissect_x25 (tvb=0x841a0e8, pinfo=0x83f9a08, tree=0x8419818) at packet-x25.c:1891 #1 0x8205a27 in call_dissector (handle=0x83a6500, tvb=0x841a0e8, pinfo=0x83f9a08, tree=0x8419818) at packet.c:1069 #2 0x81dcb8f in dissect_xot (tvb=0x841a0b4, pinfo=0x83f9a08, tree=0x8419818) at packet-xot.c:77 #3 0x8204d8f in dissector_try_port (sub_dissectors=0x83bd8e0, port=1998, tvb=0x841a0b4, pinfo=0x83f9a08,
    tree=0x8419818) at packet.c:563
#4 0x81b1085 in decode_tcp_ports (tvb=0x841a080, offset=20, pinfo=0x83f9a08, tree=0x8419818, src_port=6409,
    dst_port=1998) at packet-tcp.c:892
#5 0x81b1eb0 in dissect_tcp (tvb=0x841a080, pinfo=0x83f9a08, tree=0x8419818) at packet-tcp.c:1221 #6 0x8204d8f in dissector_try_port (sub_dissectors=0x83a4f20, port=6, tvb=0x841a080, pinfo=0x83f9a08, tree=0x8419818)
    at packet.c:563
#7 0x80e4ebf in dissect_ip (tvb=0x841a04c, pinfo=0x83f9a08, tree=0x8419818) at packet-ip.c:1116 #8 0x8204d8f in dissector_try_port (sub_dissectors=0x83a4a20, port=2048, tvb=0x841a04c, pinfo=0x83f9a08,
    tree=0x8419818) at packet.c:563
#9 0x80be0d8 in ethertype (etype=2048, tvb=0x841a018, offset_after_etype=14, pinfo=0x83f9a08, tree=0x8419818, fh_tree=0x9675720, etype_id=913, trailer_id=915) at packet-ethertype.c:158 #10 0x80bde3a in dissect_eth (tvb=0x841a018, pinfo=0x83f9a08, tree=0x8419818) at packet-eth.c:230 #11 0x8204d8f in dissector_try_port (sub_dissectors=0x83a4a80, port=1, tvb=0x841a018, pinfo=0x83f9a08, tree=0x8419818)
    at packet.c:563
#12 0x80bf9dd in dissect_frame (tvb=0x841a018, pinfo=0x83f9a08, tree=0x8419818) at packet-frame.c:143 #13 0x8205a27 in call_dissector (handle=0x83a6180, tvb=0x841a018, pinfo=0x83f9a08, tree=0x8419818) at packet.c:1069 #14 0x82048e3 in dissect_packet (edt=0x83f9a00, pseudo_header=0x0, pd=0x841123e "", fd=0xbfbff398, cinfo=0x83a30fc)
    at packet.c:288
#15 0x82029fd in epan_dissect_run (edt=0x83f9a00, pseudo_header=0x0, data=0x841123e "", fd=0xbfbff398, cinfo=0x83a30fc)
    at epan.c:100
#16 0x81ed8d8 in wtap_dispatch_cb_print (user=0xbfbff410 "ŕ/9\b", phdr=0xbfbff41c, offset=0, pseudo_header=0x0,
    buf=0x841123e "") at tethereal.c:1416
#17 0x81ed04c in capture_pcap_cb (user=0x838d4e0 "\001", phdr=0x841122c, pd=0x841123e "") at tethereal.c:1088
#18 0x821a2c4 in pcap_read ()
#19 0x821a74a in pcap_dispatch ()
#20 0x81ecc57 in capture (packet_count=-1, out_file_type=2) at tethereal.c:973
#21 0x81ec768 in main (argc=8, argv=0xbfbffcc4) at tethereal.c:783
#22 0x805feeb in _start ()

--
Marcin Gryszkalis <mg@xxxxxxxxx>
or <dagoon@xxxxxxxxxxxxxxxx>

Attachment: packet
Description: application/java-applet