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

Undefined shift in opj_get_all_encoding_parameters #885

Closed
npm1 opened this issue Jan 16, 2017 · 1 comment
Closed

Undefined shift in opj_get_all_encoding_parameters #885

npm1 opened this issue Jan 16, 2017 · 1 comment
Labels

Comments

@npm1
Copy link

npm1 commented Jan 16, 2017

In opj_get_all_encoding_parameters, there should be some checked to ensure that 1u << (l_pdx + l_level_no) and 1u << (l_pdy + l_level_no) are not undefined shifts on corrupted files. But I'm not sure what the correct way to fix this is. I'll share a sample file that exhibits the problem on request.

@rouault
Copy link
Collaborator

rouault commented Jul 29, 2017

Was fixed per a88cbb6

@rouault rouault closed this as completed Jul 29, 2017
@detonin detonin added the bug label Aug 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants