diff options
author | Tobias Weingartner <weingart@cvs.openbsd.org> | 2005-02-10 04:06:02 +0000 |
---|---|---|
committer | Tobias Weingartner <weingart@cvs.openbsd.org> | 2005-02-10 04:06:02 +0000 |
commit | d6c509f31db427204de0ecaf09c39b97c1dbb83f (patch) | |
tree | c704d43ad8c4d085e93e61dabd060a8e37d2e686 | |
parent | 5950726b53c4f79837be8cde13c705feb316c50e (diff) |
Nasty, fix tedu's test case. This needs to be
looked at after release again. Lots of testing.
Partial ok from drah@, hshoexer@, others.
-rw-r--r-- | sys/arch/i386/i386/locore.s | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/locore.s b/sys/arch/i386/i386/locore.s index b705b8c4a39..bf53884d22c 100644 --- a/sys/arch/i386/i386/locore.s +++ b/sys/arch/i386/i386/locore.s @@ -1,4 +1,4 @@ -/* $OpenBSD: locore.s,v 1.81 2005/01/01 02:57:36 millert Exp $ */ +/* $OpenBSD: locore.s,v 1.82 2005/02/10 04:06:01 weingart Exp $ */ /* $NetBSD: locore.s,v 1.145 1996/05/03 19:41:19 christos Exp $ */ /*- @@ -1243,6 +1243,8 @@ ENTRY(copyoutstr) 1: decl %edx jz 2f + cmpl $VM_MAXUSER_ADDRESS,%edi + jae _C_LABEL(copystr_fault) lodsb stosb testb %al,%al |