Subject: CVS commit: src/sys/miscfs/kernfs
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 09/01/2005 06:25:26
Module Name:	src
Committed By:	christos
Date:		Thu Sep  1 06:25:26 UTC 2005

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

Log Message:
Also protect the ipsec ioctls from negative offsets to prevent panics
in m_copydata(). Pointed out by Karl Janmar. Move the negative offset
check from kernfs_xread() to kernfs_read().


To generate a diff of this commit:
cvs rdiff -r1.111 -r1.112 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.