Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6-0]: src/sys/arch/amd64/amd64 Apply patch (requested by maxv in ...
details: https://anonhg.NetBSD.org/src/rev/f344d7b4101a
branches: netbsd-6-0
changeset: 775170:f344d7b4101a
user: snj <snj%NetBSD.org@localhost>
date: Sun Feb 05 05:59:33 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 1d061f0876b5 -r f344d7b4101a sys/arch/amd64/amd64/copy.S
--- a/sys/arch/amd64/amd64/copy.S Sun Feb 05 05:52:41 2017 +0000
+++ b/sys/arch/amd64/amd64/copy.S Sun Feb 05 05:59:33 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.20.1 2017/02/05 05:59:33 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