Wireshark-dev: Re: [Wireshark-dev] FW: DISSECTOR_ASSERT_NOT_REACHED in WLCCP decode...

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Thu, 31 May 2007 16:27:35 +0200
On Thu, May 31, 2007 at 04:20:45PM +0200, Joerg Mayer wrote:
> Please replace all FT_UINT_BYTES by FT_BYTES (you've misunderstood the
> meaning of _UINT_ in that type. That will get you further (up to some
> failed assertion "(guint)hfindex < gpa_hfinfo.len, which means, that
> you reference a non-existent hf_ element).

Just to give you a hint on how to debug this somewhat comfortably:

jmayer@egg:~/work/wireshark/svn/trunk/epan/dissectors>
../../tools/checkhf.pl packet-wlccp.c
NO ARRAY: packet-wlccp.c, hf_wlccp_tlv_value
Unused entry: packet-wlccp.c, hf_wlccp_priority
Unused entry: packet-wlccp.c, hf_wlccp_period
Unused entry: packet-wlccp.c, hf_llc_wlccp_pid
Unused entry: packet-wlccp.c, hf_wlccp_age

So it looks like there is no hf_ array entry for hf_wlccp_tlv_value.

Ciao
   Joerg
-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.