Wireshark-dev: Re: [Wireshark-dev] 1.3.3 - "proto_register_field_array" crashes with type "FT_B
From: Bill Meier <wmeier@xxxxxxxxxxx>
Date: Thu, 04 Feb 2010 10:40:07 -0500
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.