Subject: CVS commit: src/sys/arch
To: None <>
From: Frank van der Linden <>
List: source-changes
Date: 03/14/2005 21:50:59
Module Name:	src
Committed By:	fvdl
Date:		Mon Mar 14 21:50:59 UTC 2005

Modified Files:
	src/sys/arch/amd64/amd64: copy.S
	src/sys/arch/i386/i386: locore.S

Log Message:
Check the passed in address as well as determining the maximum length
using VM_MAXUSER_ADDRESS in copyinstr and copyoutstr.

Problem originally fixed in OpenBSD/i386.
This fix suggested by Charles Hannum (mycroft at netbsd dot org).

To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 src/sys/arch/amd64/amd64/copy.S
cvs rdiff -r1.32 -r1.33 src/sys/arch/i386/i386/locore.S

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