[asterisk-dev] sprintf(buf, "%s ...", buf, ...) and -D_FORTIFY_SOURCE=2

Russell Bryant russell at digium.com
Sun Dec 28 09:21:51 CST 2008


On Dec 28, 2008, at 5:53 AM, Tzafrir Cohen wrote:

> Below is a message sent to debian-devel by an Ubuntu guy regarding
> one effect of the build flag -D_FORTIFY_SOURCE=2 on some packages.
>
> It seems that Asterisk has only one line of that format:
>
>  channels/misdn_config.c: sprintf(tempbuf, "%s%s, ", tempbuf, iter- 
> >msn);
<snip>

Fixed in 1.4/trunk/1.6.0/1.6.1.  Thanks for the info.

--
Russell Bryant
Digium, Inc. | Senior Software Engineer, Open Source Team Lead
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org







More information about the asterisk-dev mailing list