Date: Sun, 06 Aug 2006 11:43:21 +0200 From: des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=) To: Marcel Moolenaar <marcel@FreeBSD.org> Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/kldxref kldxref.c Message-ID: <8664h6ci86.fsf@xps.des.no> In-Reply-To: <200608042128.k74LShD7052071@repoman.freebsd.org> (Marcel Moolenaar's message of "Fri, 4 Aug 2006 21:28:43 %2B0000 (UTC)") References: <200608042128.k74LShD7052071@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Marcel Moolenaar <marcel@FreeBSD.org> writes: > Log: > Fix (static) buffer overflow bug. The dest buffer is of size MAXPATHLEN, > so dest[MAXPATHLEN] falls outside the buffer. This bug corrupted > arenas[0] defined in libc's malloc.c on PowerPC when kldxref is shared, > which triggered a delayed SIGSERV. MAXPATHLEN should be spelled PATH_MAX. DES --=20 Dag-Erling Sm=F8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8664h6ci86.fsf>