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-requ...@wireshark.org?subject=unsubscribe

Reply via email to