Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: NULL-terminate existing_frames[] array
libsel4utils/reserve_initial_task_regions iterates over existing_frames and expects it to be null-terminated. Without this commit, the behaviour will rely on whatever the stack had before allocating existing_frames[] in the stack, and subsequent calls may fail, hang, or reserve incorrect frames; depending on the stack values. Sponsored by: DARPA. Signed-off-by: Hesham Almatary <[email protected]>
- Loading branch information