Closed boxerab closed 2 years ago
by the way, I also found a small typo in the MatShaperEval16 comments :
// A fast matrix-shaper evaluator for 8 bits. This is a bit ticky since I'm using 1.14 signed fixed point
Thanks for reporting.
It is harmless, the profile overflows and the code has a protection against out of bounds in next lines. C99 spec says the result is undefined, for throughput sake I let the profile to overflow and then clip unreasonable results. No exploit can be done here.
I'm annotating this function as "no sanitize", but this only works on clang right now.
thanks, @mm2 . Since oss-fuzz
uses clang
sanitizer, adding CMS_NO_SANITIZE
to this method will
suppress my fuzzer issue.
Hello @mm2 ,
My JPEG 2000 codec uses Little-CMS for colour management. My project is part of oss-fuzz, and I have a fuzzer report for the following file containing an ICC profile:
clusterfuzz-testcase-minimized-grk_decompress_fuzzer-6443744562380800.zip
The error is:
The ICC profile appears to be corrupt. Is there a way of validating the profile and avoiding this runtime error ? If you would like, I can extract the ICC profile and send it over.
Thanks very much, Aaron