Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check if an iterator is within bounds before accessing memory. Also, remove a redundant variable to make the while condition more clear. This issue was found [1] by running Konsole on CheriBSD/Morello that was compiled for CheriABI. The out of bounds read triggered a CHERI capability violation. [1] CTSRD-CHERI/cheribsd-ports#160
- Loading branch information