Wireshark-dev: [Wireshark-dev] Dissector bug
From: "Rach, Darshan" <DarshanR@xxxxxxx>
Date: Fri, 8 Jan 2010 11:39:04 +0530

Hi,

 

I am getting the following error:

[Dissector bug, protocol DASH: proto.c:2457: failed assertion "(guint)hfindex < gpa_hfinfo.len"]

 

My code looks like this:

 

static gint hf_epg_info_bits_len = -1;

 

{&hf_epg_info_bits_len,

{"EPG Info Bits Length","oqtp.epg_info_bits_len",FT_UINT8, BASE_DEC,NULL, 0x0,

"EPG Info Bits Length", HFILL}},

 

epg_info_bits_len = ((tvb_get_guint8(next_tvb, packet_field_offset)) & 0xf);

proto_tree_add_uint(sub_tree, hf_epg_info_bits_len, next_tvb, packet_field_offset, 1, epg_info_bits_len);

packet_field_offset += 1;

 

Kindly help.

 

+Darshan



This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster@xxxxxxx and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by NDS for employment and security purposes.
To protect the environment please do not print this e-mail unless necessary.

An NDS Group Limited company. www.nds.com