Wireshark-dev: Re: [Wireshark-dev] 1.3.3 - "proto_register_field_array" crashes with type "FT_B
From: "Tobias Erichsen" <[email protected]>
Date: Thu, 04 Feb 2010 17:06:36 +0100
Hi Bill,

thanks for the feedback.  Actually it has been the 0x7f that caused
me the real harm ;-).

It is now fixed...

Best regards,
Tobias


-------- Original-Nachricht --------
> Datum: Thu, 04 Feb 2010 10:40:07 -0500
> Von: Bill Meier <[email protected]>
> An: Developer support list for Wireshark <[email protected]>
> Betreff: Re: [Wireshark-dev] 1.3.3 - "proto_register_field_array" crashes with	type "FT_BYTES"

> Tobias Erichsen wrote:
> > Hi everyone,
> > 
> > I have noticed that my dissector crashes Wireshark 1.3.3
> > when trying to register my array (proto_register_field_array)
> > which contains the following record:
> > 
> > 
> > 	{
> > 		&hf_rtp_midi_unknown_data,
> > 		{
> > 			"Unknown Data",
> > -			"rtpmidi.unknown_data",
> > 			FT_BYTES,
> > 			BASE_HEX,
> > 			NULL,
> > 			0x7f,
> > 			NULL, HFILL
> > 		}
> > 	},
> > 
> > 
> 
> 
> Change the BASE_HEX to BASE_NONE.
> 
> Non-numeric types (FT_STRING, FT_BYTES, etc) now require BASE_NONE.
> 
> 
> 
> 
> 
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <[email protected]>
> Archives:    http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>             
> mailto:[email protected]?subject=unsubscribe

-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser