Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 1997 08:22:17 -0800
From:      David Greenman <dg@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
Message-ID:  <199712161622.IAA08136@implode.root.com>

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



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