mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-04 04:28:20 +00:00
Setting the upper address limit for OpenBSD ##io_self (#15318)
Here it is more an additional 'safety blanket' as sysctl call would fail once reached then end of the address mapping anyway.
This commit is contained in:
parent
87665bafd5
commit
ba17532cd1
@ -601,6 +601,8 @@ exit:
|
||||
eprintf ("sysctl failed: %s\n", strerror (errno));
|
||||
return false;
|
||||
}
|
||||
endq = size;
|
||||
|
||||
while (sysctl (mib, 3, &entry, &size, NULL, 0) != -1) {
|
||||
int perm = 0;
|
||||
if (entry.kve_end == endq) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user