From owner-cvs-sys Tue Dec 16 08:19:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA06061 for cvs-sys-outgoing; Tue, 16 Dec 1997 08:19:53 -0800 (PST) (envelope-from owner-cvs-sys) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA06040; Tue, 16 Dec 1997 08:19:47 -0800 (PST) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with ESMTP id IAA08136; Tue, 16 Dec 1997 08:22:17 -0800 (PST) Message-Id: <199712161622.IAA08136@implode.root.com> To: cvs-committers@FreeBSD.ORG cc: cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: Re: cvs commit: src/sys/kern kern_exec.c From: David Greenman Reply-To: dg@root.com Date: Tue, 16 Dec 1997 08:22:17 -0800 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >davidg 1997/12/16 07:40:31 PST > > Modified files: > sys/kern kern_exec.c > Log: > Fix bug where a struct buf was free()'d back to the system malloc pool. > Quite amazing that the system runs at all with this bug. Also present in > 2.2.5. The bug appears to have come in with changes in rev 1.53. > > PR: might fix PR#5313 > Submitted by: bde > > Revision Changes Path > 1.70 +3 -4 src/sys/kern/kern_exec.c This log message is somewhat wrong. It's not the struct buf that was being free()'d, but rather the buffer mapping/target of the struct buf (the filesystem data). A serious bug nonetheless, and I can hardly imagine what this might do to the system. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project