From owner-cvs-lib Fri Dec 13 04:20:53 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id EAA12988 for cvs-lib-outgoing; Fri, 13 Dec 1996 04:20:53 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id EAA12798; Fri, 13 Dec 1996 04:19:46 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id NAA03657; Fri, 13 Dec 1996 13:19:43 +0100 Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id LAA21533; Fri, 13 Dec 1996 11:15:02 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.2/8.6.9) id KAA17521; Fri, 13 Dec 1996 10:22:48 +0100 (MET) From: J Wunsch Message-Id: <199612130922.KAA17521@uriah.heep.sax.de> Subject: Re: cvs commit: src/lib/libc/net ascii2addr.c To: bde@zeta.org.au (Bruce Evans) Date: Fri, 13 Dec 1996 10:22:47 +0100 (MET) Cc: cvs-all@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-lib@freefall.freebsd.org, joerg@freefall.freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199612130521.QAA20872@godzilla.zeta.org.au> from Bruce Evans at "Dec 13, 96 04:21:17 pm" X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E X-Mailer: ELM [version 2.4ME+ PL17 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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. ;-)