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

[skrifa] tthint: avoid overflow in INSTCTRL #1202

Merged
merged 1 commit into from
Nov 4, 2024
Merged

Conversation

dfrg
Copy link
Member

@dfrg dfrg commented Oct 23, 2024

Fuzzing caught a subtraction overflow when the provided selector value is 0. This simply moves the selector range check above the flag computation so we early out before the overflowing operation.

ref https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=70426 and https://oss-fuzz.com/testcase?key=6243979511791616

Fuzzing caught a subtraction overflow when the provided selector value is 0. This simply moves the selector range check above the flag computation so we early out before the overflowing operation.

ref https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=70426 and https://oss-fuzz.com/testcase?key=6243979511791616
@rsheeter rsheeter merged commit 1579bb2 into main Nov 4, 2024
10 checks passed
@rsheeter rsheeter deleted the tthint-overflow branch November 4, 2024 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants