Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7-0]: src/sys/arch/amd64/amd64 Apply patch (requested by maxv in ...
details: https://anonhg.NetBSD.org/src/rev/8872d125d37d
branches: netbsd-7-0
changeset: 801265:8872d125d37d
user: snj <snj%NetBSD.org@localhost>
date: Sat Dec 24 04:07:00 2016 +0000
description:
Apply patch (requested by maxv in ticket #1278):
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 d3dae397cc91 -r 8872d125d37d sys/arch/amd64/amd64/copy.S
--- a/sys/arch/amd64/amd64/copy.S Fri Dec 23 07:52:53 2016 +0000
+++ b/sys/arch/amd64/amd64/copy.S Sat Dec 24 04:07:00 2016 +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.38.1 2016/12/24 04:07:00 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