Wireshark-bugs: [Wireshark-bugs] [Bug 6337] Buildbot crash output: randpkt-2011-09-12-15007.pcap
Date: Tue, 13 Sep 2011 09:04:52 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6337

--- Comment #1 from Stephen Fisher <[email protected]> 2011-09-13 10:04:51 MDT ---
The function dissect_coap_opt_port() is calling proto_tree_add_int for hfindex
8760 which has a FT_UINT16 type, not FT_INT8/16/32, so proto_tree_add_int is
throwing the dissector bug:

(gdb) bt 10
#0  0x0000000804b5efcc in kill () from /lib/libc.so.7
#1  0x0000000804b5ddcb in abort () from /lib/libc.so.7
#2  0x00000008018600e4 in proto_tree_add_int (tree=0x80058ed20, hfindex=8760,
tvb=0x80b3a7cc0, start=12, length=0, value=57120) at proto.c:3120
#3  0x0000000802116189 in dissect_coap_opt_port (tvb=0x80b3a7cc0,
pinfo=0x7fffffffe0f0, subtree=0x80058ed20, offset=12, opt_length=0,
hfindex=8760)
    at packet-coap.c:315
#4  0x000000080211666b in dissect_coap_options (tvb=0x80b3a7cc0,
pinfo=0x7fffffffe0f0, coap_tree=0x80058f080, offset=12, opt_count=2 '\002', 
    opt_code=0x7fffffffd123 "\a\v") at packet-coap.c:401
#5  0x0000000802116b47 in dissect_coap (tvb=0x80b3a7cc0, pinfo=0x7fffffffe0f0,
parent_tree=0x80058e000) at packet-coap.c:503

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