Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICU-22790 Out-of-bounds read in countSpaces() found by CHERI #3024

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Jun 4, 2024

  1. ICU-22790 Eliminate an out-of-bounds read

    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
    kwitaszczyk committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    80a9502 View commit details
    Browse the repository at this point in the history