Re: Version 1.6.0

2016-04-30 Thread Vladimir Lettiev
urn __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); ^ make[1]: *** [packets.o] Error 1 -- Vladimir Lettiev aka crux ✉ thec...@gmail.com

Re: build failure with -D_FORTIFY_SOURCE=2

2015-10-25 Thread Vladimir Lettiev
On Sun, Oct 25, 2015 at 10:32:33PM +0100, Ondrej Zajicek wrote: > On Sun, Oct 25, 2015 at 05:31:52PM +0300, Vladimir Lettiev wrote: > > Hi. > > > > Just got a build failure with recent gcc with enabled option > > FORTIFY_SOURCE=2: > > > > In f

build failure with -D_FORTIFY_SOURCE=2

2015-10-25 Thread Vladimir Lettiev
ir] Error 2 make: Leaving directory `/usr/src/RPM/BUILD/bird-1.5.0/build-bird6' There is proto/rip/auth.c:134: strncpy( (char *) (&block->packetlen), passwd->password, 16); destination packetlen is u16, so gcc thinks it is overflow. Is it possible to change strncpy with memcp