Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: usr.sbin/ldpd warns about uninitialized object



On Tue, Dec 14, 2010 at 08:10:35PM +0000, Antti Kantee wrote:
> On Tue, Dec 14, 2010 at 08:55:48PM +0100, Piotr Meyer wrote:
> > On Tue, Dec 14, 2010 at 11:58:02AM +0100, Piotr Meyer wrote:
> > 
> > > Regardless of style - it's working, but some time after that, build 
> > > process 
> > > stops in another place:
> > > 
> > > /usr/src/tests/rump/rumpvfs/t_p2kifs.c: In function 'atfu_makecn_body':
> > > /usr/src/tests/rump/rumpvfs/t_p2kifs.c:82: warning: call to 
> > > __builtin___strcpy_chk will always overflow destination buffer
> 
> Fixed.  Thanks.

with strlcpy() not strncpy() ??

        David

-- 
David Laight: david%l8s.co.uk@localhost


Home | Main Index | Thread Index | Old Index