Wireshark mailing list archives
Re: 1.3.3 - "proto_register_field_array" crashes with type "FT_BYTES"
From: Bill Meier <wmeier () newsguy com>
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. ___________________________________________________________________________ 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:
- 1.3.3 - "proto_register_field_array" crashes with type "FT_BYTES" Tobias Erichsen (Feb 04)
- Re: 1.3.3 - "proto_register_field_array" crashes with type "FT_BYTES" Bill Meier (Feb 04)
- Re: 1.3.3 - "proto_register_field_array" crashes with type "FT_BYTES" Tobias Erichsen (Feb 04)
- Re: 1.3.3 - "proto_register_field_array" crashes with type "FT_BYTES" Beth (Feb 04)
- Re: 1.3.3 - "proto_register_field_array" crashes with type "FT_BYTES" Jaap Keuter (Feb 04)
- Re: 1.3.3 - "proto_register_field_array" crashes with type "FT_BYTES" Bill Meier (Feb 04)