Date: Fri, 13 Dec 1996 10:22:47 +0100 (MET) From: J Wunsch <j@uriah.heep.sax.de> To: bde@zeta.org.au (Bruce Evans) Cc: cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-lib@freefall.freebsd.org, joerg@freefall.freebsd.org Subject: Re: cvs commit: src/lib/libc/net ascii2addr.c Message-ID: <199612130922.KAA17521@uriah.heep.sax.de> In-Reply-To: <199612130521.QAA20872@godzilla.zeta.org.au> from Bruce Evans at "Dec 13, 96 04:21:17 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
As Bruce Evans wrote: > This introduces an embarassing and rather obscure incarnation of an > uninitialized local variable use: now strbuf[15] is uninitialized. > strncpy(), unlike strncat(), does not null terminate the target string > if the source string together with its null terminator is longer than > the specified length. Garrett did already point out this... fix will follow ASAP (unless somebody beats me at this :). -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612130922.KAA17521>