cvs commit: src/usr.sbin/kldxref kldxref.c

Dag-Erling Smørgrav des at des.no
Sun Aug 6 09:43:27 UTC 2006


Marcel Moolenaar <marcel at 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
-- 
Dag-Erling Smørgrav - des at des.no


More information about the cvs-src mailing list