On 9/19/06, Bill Fassler <[EMAIL PROTECTED]> wrote:
> Thanks Guy, Jaap et al for helping me through this.  My plugin dissector
> seems to be working pretty well until I try to filter on something.  When I
> open the expression box and then expand my plugin filter(s), as soon as I
> select the field I want to filter and click my mouse on it, the whole
> application crashes and closes.  It doesn't seem to be an isolated anomoly.
> I've been able to repeat the process and recreate the problem with
> consistency.
>
> Here is a snippet from my protocol field array which happens to be what I am
> trying to filter on (although I think it crashes no matter what I try to
> filter on)
>
>     { &hf_ctrl_cmd,
>       { "Control Channel Command",
>         "vppn.cmd",
>         FT_UINT8, BASE_HEX, VALS(control_channel_commands), 0x0,
>         "", HFILL }},
>
> I don't define or declare vppn.cmd anywhere other than here, did I miss
> something or do something wrong?
>

In your control_channel_commands value_string array, is the last record:

 { 0, NULL }

?

Wireshark needs that terminating record to know when to stop iterating
across the value_string list.

--gilbert
_______________________________________________
Wireshark-dev mailing list
[email protected]
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to