You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes an error where find_free_memory_in_region() thinks that an occupied
region that spans the requested endpoint is free, resulting in an infinite
loop in os_heap_reserve_in_region().
Manually tested on the app whose maps file hit this. (Creating a suite
test is non-trivial without a mock for the maps iterator.)
Fixes#2557
Fixes an error where find_free_memory_in_region() thinks that an occupied
region that spans the requested endpoint is free, resulting in an infinite
loop in os_heap_reserve_in_region().
Manually tested on the app whose maps file hit this. (Creating a suite
test is non-trivial without a mock for the maps iterator.)
Fixes#2557
With a maps file something like this:
During init with default options and the client statically linked into the application, we have:
It's an infinite loop. The code:
fails to also check that the gap it found is not occupied, when it spans the endpoint.
The text was updated successfully, but these errors were encountered: