Date: Mon, 11 Sep 2000 17:31:11 +0700 (ALMST) From: Boris Popov <bp@butya.kz> To: Bruce Evans <bde@zeta.org.au> Cc: Doug Rabson <dfr@nlsystems.com>, John Baldwin <jhb@pike.osd.bsdi.com>, Doug Rabson <dfr@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys ktr.h Message-ID: <Pine.BSF.4.10.10009111728410.27558-100000@lion.butya.kz> In-Reply-To: <Pine.BSF.4.21.0009112012540.955-100000@besplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 11 Sep 2000, Bruce Evans wrote: > The KTR_EXTEND version of _TR would be reasonable if it used strncpy() > instead of snprintf(). _CTR0 seems to have an array overruns from using > memcpy() instead of strncpy(). The portability given by different _CTR > macros for different numbers of args is defeated by using gcc's variadic > macro feature in NULLFSDEBUG(). I'll replace it with KASSERT-like definition: #define NULLFSDEBUG(args) printf args with appropriate changes to the rest of the code. -- Boris Popov http://www.butya.kz/~bp/ 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?Pine.BSF.4.10.10009111728410.27558-100000>