Date: Thu, 4 Jan 2001 21:12:57 -0500 From: Will Andrews <will@physics.purdue.edu> To: Brian Somers <brian@Awfulhak.org> Cc: Chris Faulhaber <jedgar@fxp.org>, Will Andrews <will@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.bin/apply apply.c Message-ID: <20010104211257.V86630@argon.firepipe.net> In-Reply-To: <200101050206.f0526rB87964@hak.lan.Awfulhak.org>; from brian@Awfulhak.org on Fri, Jan 05, 2001 at 02:06:53AM %2B0000 References: <jedgar@fxp.org> <200101050206.f0526rB87964@hak.lan.Awfulhak.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 05, 2001 at 02:06:53AM +0000, Brian Somers wrote: > Also (and this bug was already there), s[n]printf() returns the length > of what it would have liked to have put in the target, not what it > actually wrote. If the first s[n]printf() above ends up truncating, > the second one will happily overflow. Yes, Jacques pointed this out to me in private email. I am fixing this bug too. > s[n]printf() is poorly documented in this area. I agree. -- wca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010104211257.V86630>