Subject: CVS commit: src/sys/miscfs/kernfs
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 08/31/2005 09:54:55
Module Name:	src
Committed By:	christos
Date:		Wed Aug 31 09:54:55 UTC 2005

Modified Files:
	src/sys/miscfs/kernfs: kernfs_vnops.c

Log Message:
Don't allow negative offsets when reading the message buffer, because it
can allow reading arbitrary kernel memory.


To generate a diff of this commit:
cvs rdiff -r1.110 -r1.111 src/sys/miscfs/kernfs/kernfs_vnops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.