Wireshark-dev: Re: [Wireshark-dev] Lemon crashing on Solaris? (was Re: [Wireshark-commits] buil
From: Bálint Réczey <balint@xxxxxxxxxxxxxxx>
Date: Thu, 28 Nov 2013 17:17:45 +0100
2013/11/25 Guy Harris <guy@xxxxxxxxxxxx>:
>
> On Nov 25, 2013, at 12:00 PM, Bálint Réczey <balint@xxxxxxxxxxxxxxx> wrote:
>
>> At least we (you) found a real problem by temporarily enabling the
>> broken -ftrapv.  :-)
>
> ...with a compiler that actually does something with it.  Hopefully the GCC folks will fix this at some point.

Since they ported Undefined Behavior Sanitizer it will be handled
properly in 4.9 I think:
http://www.phoronix.com/scan.php?page=news_item&px=MTQ0OTc

I have fixed lemon.c, how about enabling -ftrapv and maybe some of the
sanitizers later?

Cheers,
Balint