From owner-cvs-src@FreeBSD.ORG Tue Sep 30 15:50:06 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C9B61065693; Tue, 30 Sep 2008 15:50:06 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4B2F28FC16; Tue, 30 Sep 2008 15:50:06 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id m8UFo6Ps077815; Tue, 30 Sep 2008 15:50:06 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id m8UFo6J9077814; Tue, 30 Sep 2008 15:50:06 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <200809301550.m8UFo6J9077814@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Tue, 30 Sep 2008 15:49:59 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_7 Cc: Subject: cvs commit: src/sys/kern kern_linker.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2008 15:50:06 -0000 jhb 2008-09-30 15:49:59 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/kern kern_linker.c Log: SVN rev 183500 on 2008-09-30 15:49:59Z by jhb Sync with head: When copying out the kld_stat structure to userland, only copy out the size of the user's buffer. In the case of a program using the older (smaller) structure, the previous code would trash memory after the end of the user's kld_stat struct. This was missed in the DTrace MFC. Submitted by: Jaakko Heinonen jh saunalahti.fi Approved by: re (kib) Revision Changes Path 1.149.2.4 +1 -1 src/sys/kern/kern_linker.c