cvs commit: src/sys/kern kern_lockf.c
Joerg Sonnenberger
joerg at britannica.bec.de
Tue May 11 00:54:57 PDT 2004
On Mon, May 10, 2004 at 07:11:37PM -0700, Matthew Dillon wrote:
> dillon 2004/05/10 19:11:36 PDT
>
> DragonFly src repository
>
> Modified files:
> sys/kern kern_lockf.c
> Log:
> lf_alloc_range() must initialize the returned structure sufficiently such that
> lf_destroy_range() doesn't explode on us and corrupt system memory.
Matt, lf_destroy_range called with accounting == 0 doesn't follow any
pointer in the range, it just uses the values directly. This is not the
bug which corrupts the memory.
Joerg
>
> This should fix the serious FS corruption reports we've been getting.
>
> Revision Changes Path
> 1.14 +9 -1 src/sys/kern/kern_lockf.c
>
>
> http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_lockf.c.diff?r1=1.13&r2=1.14&f=h
>
More information about the Commits
mailing list