Wireshark-bugs: [Wireshark-bugs] [Bug 4413] Improve bitview display

Date: Mon, 24 May 2010 05:52:05 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4413

--- Comment #20 from Martin Mathieson <martin.r.mathieson@xxxxxxxxxxxxxx> 2010-05-24 05:52:04 PDT ---
It looks as though some FI bits have been overloaded.

There is:
#define PI_SEVERITY_MASK    0x00000E00    /* mask usually for internal use
only! */

i.e. bits 9-11

You added:

#define FI_BITS_SIZE(n)         ((n & 63) << 8)

which is going to be bits 8-13.  So depending upon the length of the field, we
get errors.  We get away with it for 1-bit length fields, but for longer fields
we don't, and the assertion at main_proto_draw.c: line 1846 fires, because it
doesn't correspond to a recognised expert info severity.

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