mirror of
https://github.com/NixOS/nix
synced 2025-06-28 13:41:15 +02:00
Fix #11141 broken sp corrector
This commit is contained in:
parent
0ec5e3a1bc
commit
380becf0db
4 changed files with 101 additions and 1 deletions
|
@ -121,7 +121,7 @@ void fixupBoehmStackPointer(void ** sp_ptr, void * _pthread_id)
|
|||
// NOTE: We assume the stack grows down, as it does on all architectures we support.
|
||||
// Architectures that grow the stack up are rare.
|
||||
if (sp >= osStackBase || sp < osStackLow) { // lo is outside the os stack
|
||||
sp = osStackBase;
|
||||
sp = osStackLow;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue