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

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

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
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.

1 participant