Wireshark mailing list archives
Re: Dissector bug
From: "Rach, Darshan" <DarshanR () nds com>
Date: Fri, 8 Jan 2010 18:06:41 +0530
I checked all of those. I still get the same error. Is there any other solution for this error? From: wireshark-dev-bounces () wireshark org [mailto:wireshark-dev-bounces () wireshark org] On Behalf Of Jan Gerbecks Sent: Friday, January 08, 2010 4:31 PM To: Developer support list for Wireshark Subject: Re: [Wireshark-dev] Dissector bug Hi, that usually means you forget to either: initialize a variable or didn't add it to the hf[] or ett[] array. Take a closer look there, Jan On 08.01.2010, at 07:09, Rach, Darshan wrote: 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 () nds com<mailto:postmaster () nds com> 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<http://www.nds.com> ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org<mailto:wireshark-dev () wireshark org>> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe ________________________________ This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster () nds com 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
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Dissector bug Rach, Darshan (Jan 07)
- Re: Dissector bug Jan Gerbecks (Jan 08)
- Re: Dissector bug Rach, Darshan (Jan 08)
- Re: Dissector bug Rach, Darshan (Jan 08)
- Re: Dissector bug Maynard, Chris (Jan 08)
- Re: Dissector bug Joerg Mayer (Jan 08)
- Re: Dissector bug Maynard, Chris (Jan 08)
- Re: Dissector bug philippe alarcon (Jan 08)
- Re: Dissector bug Maynard, Chris (Jan 09)
- Re: Dissector bug Stephen Fisher (Jan 12)
- Re: Dissector bug Maynard, Chris (Jan 08)
- Re: Dissector bug Jan Gerbecks (Jan 08)