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] Corrupted tpncp.dat file that crashes Wireshark

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

--- Comment #3 from Guy Harris <guy@xxxxxxxxxxxx> 2011-12-12 18:17:49 PST ---
I can't reproduce that particular problem on my Mac OS X machine, but I get
another crash, due to the TPNCP dissector trying to register a field with a
comma in its name:


#0  0x00007fff8406c0b6 in __kill ()
#1  0x00007fff8410c9f6 in abort ()
#2  0x000000010011e685 in unhandled_catcher (except=0x8a54) at except.c:235
#3  0x000000010011e879 in do_throw (except=0x7fff5fbfe740) at except.c:220
#4  0x000000010011e8f5 in except_throw (group=<value temporarily unavailable,
due to optimizations>, code=<value temporarily unavailable, due to
optimizations>, msg=<value temporarily unavailable, due to optimizations>) at
except.c:297
#5  0x000000010013509c in proto_register_field_init (hfinfo=0x1046c0a58,
parent=85152) at proto.c:5030
#6  0x0000000100135442 in proto_register_field_array (parent=85152, hf=<value
temporarily unavailable, due to optimizations>, num_records=1) at proto.c:4706
#7  0x000000010080e7ba in proto_register_tpncp () at packet-tpncp.c:767
#8  0x0000000100941ae3 in register_all_protocols (cb=0, client_data=0x0) at
register.c:918
#9  0x000000010013feb9 in proto_init (register_all_protocols_func=0x10093b280
<register_all_protocols>, register_all_handoffs_func=0x100934da0
<register_all_protocol_handoffs>, cb=0, client_data=0x0) at proto.c:393
#10 0x000000010011e316 in epan_init (register_all_protocols_func=0x10093b280
<register_all_protocols>, register_all_handoffs_func=0x100934da0
<register_all_protocol_handoffs>, cb=0, client_data=0x0,
report_failure_fcn_p=<value temporarily unavailable, due to optimizations>,
report_open_failure_fcn_p=<value temporarily unavailable, due to
optimizations>, report_read_failure_fcn_p=0x10001d250 <read_failure_message>,
report_write_failure_fcn_p=0x10001d220 <write_failure_message>) at epan.c:106
#11 0x000000010001ec46 in main (argc=4, argv=0x7fff5fbfee50) at tshark.c:949

so there's a bunch of sanity-checking needed.

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