Wireshark-bugs: [Wireshark-bugs] [Bug 2051] Crash in packet_ansi_a.c (bsap)

Date: Mon, 3 Dec 2007 22:49:20 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2051





------- Comment #12 from guy@xxxxxxxxxxxx  2007-12-03 22:49 GMT -------
Some debugging seems to suggest that, somehow, the flags field of the
field_info structure associated with that protocol tree item changes between
its creation in the dissector to the reference to it from the double-click from
0 to 0x80c; the only other item that appears to change is the tree_type field,
which changes from -1 to 7559.  0x80c is FI_URL ORed with 0x808; neither the
0x800 bit nor the 0x8 bit are valid FI_ flags.

It appears that we're also using the flags field for expert flags - and it
appears that we're using the 0x4 bit for an expert flag as well as for FI_URL! 
I've checked in SVN 23726 to change epan/proto.h to avoid that and to make it a
bit easier to avoid that (i.e., allocate expert stuff from the top down and FI_
flags from the bottom up).


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