Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix invalid mapping to zero page caused by off-by-one bug
The `zero_end` bound is exclusive, but we treat the `end_page` as inclusive. So when `zero_end` is page-aligned, we allocate one additional bss page. If this page was already mapped to some other segment, we remap it to a page with random content. This is the same bug as #362.
- Loading branch information