Skip to content

hdr: fix crash (oss-fuzz)

This patch Fixes crash when RLE data is corrupted (test cases attached).

Should also fixes (no test cases available):

  • Issue 62044 in oss-fuzz: kimageformats:kimgio_hdr_fuzzer: Undefined-shift in RGBE_To_QRgbLine
  • Issue 62057 in oss-fuzz: kimageformats:kimgio_hdr_fuzzer: Heap-buffer-overflow in Read_Old_Line

crash-646a4364479f54278ff8c30c69b0c9665e5869af.hdr

crash-88c33e2b49e57e6d1d4ec6945476f605f00e714a.hdr

Edited by Mirco Miranda

Merge request reports

Loading