Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Custom dissector causing wireshark to crash

From: didier <dgautheron@xxxxxxxx>
Date: Tue, 25 Aug 2009 23:23:47 +0200
Hi,
Le mardi 25 aoᅵt 2009 ᅵ 17:00 -0400, Patrick Lannigan a ᅵcrit :
The init looks wrong to me:
> Here is the hf array construction, can anyone see what the error is?
> 
>         { &hf_abc_txPower, 
>             { "txPower", "abc.txPower",
>             FT_UINT8, BASE_DEC,
>             "Transmit power for message in dBm",
>             0x0, NULL, HFILL }
>         },
Should be
        { &hf_abc_txPower, 
            { "txPower", "abc.txPower",
            FT_UINT8, BASE_DEC,
            NULL,0x0, 
            "Transmit power for message in dBm",
	   , HFILL }
        },

Didier