-
Notifications
You must be signed in to change notification settings - Fork 469
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
Floating Point Errors #938
Comments
id:000019,sig:08,src:001098,op:flip1,pos:49:
id:000026,sig:08,src:002419,op:int32,pos:60,val:+32:
id:000098,sig:11,src:005411,op:havoc,rep:2:
|
See: #882 opj_decompress -i id_000004,sig_06,src_000679,op_arith8,pos_49,val_-17 -o test1.png [INFO] Start to read j2k main header (0). [INFO] Start to read j2k main header (0). opj_decompress -i id_000020,sig_06,src_001958,op_flip4,pos_149 -o test.png [INFO] Start to read j2k main header (0). opj_decompress -i id_000026,sig_08,src_002419,op_int32,pos_60,val_+32 -o test.png [INFO] Start to read j2k main header (0). /sources/LIB/IMAGE_FORMATS/OPENJPEG/VERSION-2.2/openjpeg2-2017-05-11-1/src/bin/common/color.c:350:color_sycc_to_rgb opj_decompress -i id_000034,sig_11,src_003240,op_flip1,pos_22 -o test.png [INFO] Start to read j2k main header (0). opj_decompress -i id_000098,sig_11,src_005411,op_havoc,rep_2 -o test.png [INFO] Start to read j2k main header (0). opj_decompress -i id_000167,sig_11,src_006079,op_havoc,rep_4 -o test.png [INFO] Start to read j2k main header (0). |
1 similar comment
See: #882 opj_decompress -i id_000004,sig_06,src_000679,op_arith8,pos_49,val_-17 -o test1.png [INFO] Start to read j2k main header (0). [INFO] Start to read j2k main header (0). opj_decompress -i id_000020,sig_06,src_001958,op_flip4,pos_149 -o test.png [INFO] Start to read j2k main header (0). opj_decompress -i id_000026,sig_08,src_002419,op_int32,pos_60,val_+32 -o test.png [INFO] Start to read j2k main header (0). /sources/LIB/IMAGE_FORMATS/OPENJPEG/VERSION-2.2/openjpeg2-2017-05-11-1/src/bin/common/color.c:350:color_sycc_to_rgb opj_decompress -i id_000034,sig_11,src_003240,op_flip1,pos_22 -o test.png [INFO] Start to read j2k main header (0). opj_decompress -i id_000098,sig_11,src_005411,op_havoc,rep_2 -o test.png [INFO] Start to read j2k main header (0). opj_decompress -i id_000167,sig_11,src_006079,op_havoc,rep_4 -o test.png [INFO] Start to read j2k main header (0). |
…pi_next_cprl (#938) Fixes issues with id:000026,sig:08,src:002419,op:int32,pos:60,val:+32 and id:000019,sig:08,src:001098,op:flip1,pos:49
Fix id:000098,sig:11,src:005411,op:havoc,rep:2 test case
Fix id:000098,sig:11,src:005411,op:havoc,rep:2 test case
…next_cprl (#938) Fixes crash on id_000004,sig_06,src_000679,op_arith8,pos_49,val_-17
The issues with the 3 above mentioned files have now been fixed. Closing this ticket. Remaining files of https://github.com/rwhitworth/openjpeg-fuzz/tree/master/2017-05-23 are dealt by #939 Note: qualifying someone else's work as a "pretty good troll" isn't something I would expect in civil communication. I can understand the frustration for issues not being fixed or pull request reviewed in a timely fashion, but like every project, either volunteers or funded members have limited time and different priorities to manage. Keeping a good atmosphere is important so that people have motivation keeping invested time in the project. Thanks |
Hello, I was using American Fuzzy Lop (afl-fuzz) to fuzz input to the
opj_decompress
program on Linux. Is fixing the crashes from these input files something you're interested in? The input files can be found here: https://github.com/rwhitworth/openjpeg-fuzz/tree/master/2017-05-23.The files can be executed as
opj_decompress -i id_filename -o /tmp/output.tif
to cause floating point exceptions. The version of opj_decompress was from commit 83d7a6d.The three files from that repo to investigate for FPE are:
id:000019,sig:08,src:001098,op:flip1,pos:49
id:000026,sig:08,src:002419,op:int32,pos:60,val:+32
id:000098,sig:11,src:005411,op:havoc,rep:2
Each looks to be a different root cause. Valgrind output to follow.
Let me know if I can provide any more information to help narrow down this issue.
The text was updated successfully, but these errors were encountered: