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

Maxim Sobolev sobomax at FreeBSD.org
Fri Aug 4 23:15:30 UTC 2006


Thanks! I saw this crash as well, but did not have a gdb working to 
inspect the core file at that time.

-Maxim

Marcel Moolenaar wrote:
> marcel      2006-08-04 21:28:43 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     usr.sbin/kldxref     kldxref.c 
>   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.
>   
>   Revision  Changes    Path
>   1.13      +1 -1      src/usr.sbin/kldxref/kldxref.c
> 
> 



More information about the cvs-src mailing list