Subject: CVS commit: src/sys/dev
To: None <source-changes@NetBSD.org>
From: Elad Efrat <elad@netbsd.org>
List: source-changes
Date: 10/30/2006 12:37:08
Module Name:	src
Committed By:	elad
Date:		Mon Oct 30 12:37:08 UTC 2006

Modified Files:
	src/sys/dev: verified_exec.c

Log Message:
Don't use memcmp() and memcpy() on userspace addresses.

Pointed out by mrg@, thanks.

This also makes it so a malicious root user can't panic the kernel by
passing junk pointers.


To generate a diff of this commit:
cvs rdiff -r1.46 -r1.47 src/sys/dev/verified_exec.c

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