Integer-overflow in lut_inverse_interp16 |
|||||||
Issue descriptionDetailed report: https://clusterfuzz.com/testcase?key=4712912540401664 Fuzzer: libfuzzer_qcms_color_space_fuzzer Job Type: libfuzzer_chrome_ubsan Platform Id: linux Crash Type: Integer-overflow Crash Address: Crash State: lut_inverse_interp16 invert_lut compute_precache Sanitizer: undefined (UBSAN) Regressed: https://clusterfuzz.com/revisions?job=libfuzzer_chrome_ubsan&range=464719:464722 Reproducer Testcase: https://clusterfuzz.com/download/AMIfv97dpkqhPJVxhC3dkeWC6aWo893h4eFzZqFsjCkHbjWKuzeQSYMfvuSd-HMqKnonqI9YeKTi73uqbuOLmgULtB6NRacR_0j2c4n9xWnZcnDoEDXdSSeTtJEqcXZ8Aoi3Vl5zG05RbhDJi_sfi3tMtswdLvopn8cjya3FBWrHTccK4vcbOBQlD1fnOfRBhyPrO_VAsXbHzfs2vNbs7P_UJZ3CAY6rKtwStR3EzkM8XIuvmmlx6UkLxcivqhh5nU-LAQg94hujRuD7iAPYKlpPNGVPcL0d-y2PndKBXBh2yyzBykO044MV_07acSvMrbQIdB_cBn5qD3vEc8WibUPrvMP7SAavaf6jYPgbfU39RtMYccZ7Tck?testcase_id=4712912540401664 Issue filed automatically. See https://chromium.googlesource.com/chromium/src/+/master/testing/libfuzzer/reproducing.md for more information.
,
Apr 15 2017
ClusterFuzz testcase 4712912540401664 is verified as fixed, so closing issue. If this is incorrect, please add ClusterFuzz-Wrong label and re-open the issue.
,
Apr 18 2017
Reproduces for me when inverting the precache gamma table. The input gamma table is large and does cause an integer overflow when computing int b b = ((length-1 - NumPoles) * 0xFFFF) / (length-1); in transform_util.c: lut_inverse_interp16().
,
Apr 18 2017
,
Apr 20 2017
,
Apr 22 2017
Code review https://codereview.chromium.org/2825623002 landed to fix this.
,
Sep 18 2017
We have made a bunch of changes on ClusterFuzz side, so resetting ClusterFuzz-Wrong label. |
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by ClusterFuzz
, Apr 15 2017