Bug#391840: ztcfg segfaults because of -O4
msp at debian.org
Mon Oct 9 02:50:21 UTC 2006
On Monday 09 October 2006 05:37, Robert Millan wrote:
> You might want to add -fno-inline-functions to CFLAGS as a workaround
> (tested and known to work). Besides, I'm not sure if this also qualifies
> as a gcc bug and should be reported separately. Could someone enlighten
> me? :-)
Thanks for the report, not sure about the gcc aspects.
> Ah, there's also this check I added to ensure 'i' will never be bigger than
> the array size. Not that it was any useful because gcc was screwing our
> stack, but you might like to apply it as well.
> diff -ur zaptel-126.96.36.199.dfsg.old/ztcfg.c zaptel-188.8.131.52.dfsg/ztcfg.c
Thanks keep the reports coming..
More information about the Pkg-voip-maintainers