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: