DragonFly-2.3.0.786.g85d25bc master sys/kern kern_exec.c sys/vm vm_map.c vm_map.h vm_mmap.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Thu Apr 23 11:57:12 PDT 2009
commit 85d25bcf562abac1b78f0828f44e3cc7e67e93fa
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Thu Apr 23 11:54:47 2009 -0700
Fix VM panic. Add required overflow check for MAP_STACK and MAP_FIXED mmaps
Certain mmap() calls were not properly checking that (addr + size) does not
overflow, causing a kernel panic.
Reported-by: Alex Hornung <ahornung at gmail.com>
Summary of changes:
sys/kern/kern_exec.c | 2 +-
sys/vm/vm_map.c | 40 ++++++++++++++++++++++++++++++++--------
sys/vm/vm_map.h | 3 ++-
sys/vm/vm_mmap.c | 19 +++++++++++++++++--
4 files changed, 52 insertions(+), 12 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/85d25bcf562abac1b78f0828f44e3cc7e67e93fa
--
DragonFly BSD source repository
More information about the Commits
mailing list