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

Assertion `l_res->x0 >= 0' fails when parsing invalid images #475

Closed
gcode-importer opened this issue Feb 16, 2015 · 2 comments
Closed

Assertion `l_res->x0 >= 0' fails when parsing invalid images #475

gcode-importer opened this issue Feb 16, 2015 · 2 comments

Comments

@gcode-importer
Copy link

Originally reported on Google Code with ID 475

It looks like you've already fixed one cause of this crash, but even the latest svn
version of openjpeg (r2997) crashes with an assertion error when parsing the invalid,
fuzzed JPEG2000 files in the attachment:

$ bin/opj_decompress -i openjpeg-svn-assertion-l_res-x-gt-0-id000036svn.jp2 -o output.pnm

[INFO] Start to read j2k main header (85).
[INFO] Main header has been correctly decoded.
[INFO] No decoded area parameters, set the decoded area to the whole image
[INFO] Header of tile 1 / 1 has been read.
[INFO] Tile 1/1 has been decoded.
opj_decompress: /home/aidan/src/afl-1.24b/openjpeg-svn/src/lib/openjp2/j2k.c:8066:
opj_j2k_update_image_data: Assertion `l_res->x0 >= 0' failed.
Aborted

Reported by makosoft on 2015-02-16 12:18:55


- _Attachment: [openjpeg-svn-assertion-l_res-x-gt-0.zip](https://storage.googleapis.com/google-code-attachments/openjpeg/issue-475/comment-0/openjpeg-svn-assertion-l_res-x-gt-0.zip)_
@gcode-importer
Copy link
Author

This issue was updated by revision r3000.

Reported by mayeut on 2015-05-19 20:55:59

@gcode-importer
Copy link
Author

This issue was closed by revision r3001.

Reported by mayeut on 2015-05-19 21:24:54

  • Status changed: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant