Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F164796230
D2954.id6578.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
467 B
Referenced Files
None
Subscribers
None
D2954.id6578.diff
View Options
Index: sys/vm/vm_map.c
===================================================================
--- sys/vm/vm_map.c
+++ sys/vm/vm_map.c
@@ -3640,7 +3640,9 @@
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)vm->vm_maxsaddr + ctob(vm->vm_ssize)))
+ ? 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
Wed, Aug 5, 2:27 AM (3 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35983686
Default Alt Text
D2954.id6578.diff (467 B)
Attached To
Mode
D2954: Fix the is_procstack expression in vm_map_growstack(...).
Attached
Detach File
Event Timeline
Log In to Comment