Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6-1]: src/sys/arch/amd64/amd64 Apply patch (requested by maxv in ...
details: https://anonhg.NetBSD.org/src/rev/b1362bc90c06
branches: netbsd-6-1
changeset: 776170:b1362bc90c06
user: snj <snj%NetBSD.org@localhost>
date: Sun Feb 05 05:59:59 2017 +0000
description:
Apply patch (requested by maxv in ticket #1431):
suword: Don't allow 4 bytes to overflow beyond the userland space.
diffstat:
sys/arch/amd64/amd64/copy.S | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 1abb90e1b5e7 -r b1362bc90c06 sys/arch/amd64/amd64/copy.S
--- a/sys/arch/amd64/amd64/copy.S Sun Feb 05 05:53:04 2017 +0000
+++ b/sys/arch/amd64/amd64/copy.S Sun Feb 05 05:59:59 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: copy.S,v 1.18 2010/07/07 01:13:29 chs Exp $ */
+/* $NetBSD: copy.S,v 1.18.28.1 2017/02/05 05:59:59 snj Exp $ */
/*
* Copyright (c) 2001 Wasabi Systems, Inc.
@@ -413,7 +413,7 @@
ENTRY(suword)
DEFERRED_SWITCH_CHECK
- movq $VM_MAXUSER_ADDRESS-4,%r11
+ movq $VM_MAXUSER_ADDRESS-8,%r11
cmpq %r11,%rdi
ja _C_LABEL(fusuaddrfault)
Home |
Main Index |
Thread Index |
Old Index