From owner-cvs-all@FreeBSD.ORG Fri Aug 4 21:28:44 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F34E416A4DF; Fri, 4 Aug 2006 21:28:43 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B6DF43D46; Fri, 4 Aug 2006 21:28:43 +0000 (GMT) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k74LShZC052072; Fri, 4 Aug 2006 21:28:43 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k74LShD7052071; Fri, 4 Aug 2006 21:28:43 GMT (envelope-from marcel) Message-Id: <200608042128.k74LShD7052071@repoman.freebsd.org> From: Marcel Moolenaar Date: Fri, 4 Aug 2006 21:28:43 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.sbin/kldxref kldxref.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Aug 2006 21:28:44 -0000 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