Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Aug 2006 16:14:53 -0700
From:      Maxim Sobolev <sobomax@FreeBSD.org>
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:  <44D3D4ED.3000504@FreeBSD.org>
In-Reply-To: <200608042128.k74LShD7052071@repoman.freebsd.org>
References:  <200608042128.k74LShD7052071@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> 
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44D3D4ED.3000504>