Subject: Re: kern/29441: cp /lib/libc.so.12.125.new /lib/libc.so.12.125 crashes kernel
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Martin Husemann <martin@duskware.de>
List: netbsd-bugs
Date: 02/18/2005 19:52:02
The following reply was made to PR kern/29441; it has been noted by GNATS.
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: kern/29441: cp /lib/libc.so.12.125.new /lib/libc.so.12.125 crashes kernel
Date: Fri, 18 Feb 2005 20:51:43 +0100
Should be fixed by miscfs/genfs/genfs_vnops.c rev. 1.95:
revision 1.95
date: 2005/02/16 15:25:33; author: chs; state: Exp; lines: +15 -3
undo the part of rev. 1.93 that turned the past-EOF check into an assertion.
read() can't request pages past EOF, but mmap() can. apparently I had
disengaged the brain when I said that was ok.
Martin