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

inverse palette bugfix: preserve hshift/vshift #35

Merged
merged 1 commit into from
May 31, 2021

Conversation

jonsneyers
Copy link
Member

Fixes #29

Inverse palette of multiple channels resetted hshift/vshift of the non-first restored channel to zero, which is incorrect.
In weird combinations with Squeeze, this can lead to negative shift values.

This does (probably) not happen in any bitstream created by cjxl.

@jonsneyers jonsneyers added decoder Related to the libjxl decoder fuzzerbug Security/robustness bugs, not properly handling corrupt/malicious input labels May 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
decoder Related to the libjxl decoder fuzzerbug Security/robustness bugs, not properly handling corrupt/malicious input
Projects
None yet
Development

Successfully merging this pull request may close these issues.

oss-fuzz has found an undefined shift (by -5) in libjxl
2 participants