Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154675923
D2954.id6591.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
449 B
Referenced Files
None
Subscribers
None
D2954.id6591.diff
View Options
Index: sys/vm/vm_map.c
===================================================================
--- sys/vm/vm_map.c
+++ sys/vm/vm_map.c
@@ -3640,7 +3640,8 @@
return (KERN_NO_SPACE);
}
- is_procstack = (addr >= (vm_offset_t)vm->vm_maxsaddr) ? 1 : 0;
+ is_procstack = ((addr >= (vm_offset_t)vm->vm_maxsaddr) &&
+ (addr < (vm_offset_t)p->p_sysent->sv_usrstack)) ? 1 : 0;
/*
* If this is the main process stack, see if we're over the stack
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 30, 5:08 AM (18 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32452636
Default Alt Text
D2954.id6591.diff (449 B)
Attached To
Mode
D2954: Fix the is_procstack expression in vm_map_growstack(...).
Attached
Detach File
Event Timeline
Log In to Comment