Wireshark-dev: Re: [Wireshark-dev] Built-in dissector depends on a plugin dissector in 1.6.x

From: Gerald Combs <gerald@xxxxxxxxxxxxx>
Date: Wed, 07 Sep 2011 12:16:10 -0700
I fixed the problem in r38923 by calling heur_dissector_add only if we
can find the sercosiii dissector.

On 9/7/11 2:29 AM, Roland Knall wrote:
> Hi
> 
> The problem could be solved, by explicitly checking, if the plugin
> exists, but I would prefer adding the solution already added to the
> trunk, meaning, moving the sercosiii plugin to a built-in dissector.
> 
> otherwise, if preferred, i could provide a small patch to fix the
> problem temporarily.
> 
> regards,
> Roland
> 
> 2011/9/7 Stig Bjørlykke <stig@xxxxxxxxxxxxx>:
>> I think we have an issue in 1.6.x where the built-in dissector
>> opensafety depends on the plugin dissector sercosiii.
>> In packet.c:heur_dissector_add() we crash (assert) if the dissector
>> does not exist, and the plugin sercosiii may not exist.
>>
>> This problem is fixed in trunk where sercosiii is changed to be a
>> built-in dissector.
>>
>>
>> --
>> Stig Bjørlykke
>> ___________________________________________________________________________
>> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
>> Archives:    http://www.wireshark.org/lists/wireshark-dev
>> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>>             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe
>>
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
> Archives:    http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>              mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe