-
Notifications
You must be signed in to change notification settings - Fork 461
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
Out-of-bounds read in opj_j2k_update_image_data and opj_tgt_reset function #704
Comments
It seems that both images are broken. But the openjpeg library should winfried |
Prevents color_esycc_to_rgb to be applied when different subsampling are used.
The crash for the second image is caused by an arithmetic overflow in
When
solves the issue. ( There are/were multiple issues in openjpeg for |
Why not just modify the floor and ceiling methods: eg
and just change all of the casts in the code from (OPJ_INT32) to (OPJ_INT64) for the power of 2 ? |
@boxerab your proposed change is on opj_int_floordivpow2 but the issue seems to be on opj_int_ceildiv. |
Sorry, no time for this at the moment. |
@detonin, changing all occurrences of |
Prevents color_esycc_to_rgb to be applied when different subsampling are used.
Prevents color_esycc_to_rgb to be applied when different subsampling are used.
I can't reproduce issues on the 2 images with a -fsanitize=undefined,address build. Closing |
For the record, this was assigned CVE-2016-1923 |
Anybody knows what exactly the fix for this was? |
http://seclists.org/oss-sec/2016/q1/128
The text was updated successfully, but these errors were encountered: