Bug#391840: ztcfg segfaults because of -O4

Mark Purcell msp at debian.org
Mon Oct 9 02:50:21 UTC 2006


Robert,

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-1.2.9.1.dfsg.old/ztcfg.c zaptel-1.2.9.1.dfsg/ztcfg.c

Will do..

Thanks keep the reports coming..

Mark




More information about the Pkg-voip-maintainers mailing list