linux: close "/proc/self/maps" after finding the stack base
This commit is contained in:
parent
acf250891f
commit
afb75c7cfe
|
@ -518,7 +518,8 @@ static uintptr_t adjust_stack_base(uintptr_t bnd) {
|
|||
break;
|
||||
}
|
||||
/* printf("%p vs. %p: %d\n", (void*)bnd, (void*)p, p - bnd); */
|
||||
return p;
|
||||
bnd = p;
|
||||
break;
|
||||
}
|
||||
}
|
||||
free(buf);
|
||||
|
|
Loading…
Reference in New Issue
Block a user