Skip to content

qoi: fix buffer overflow kf5

Backport of MR !167 (merged):

  • fix buffer overflow with corrupted images without image data
  • fix unable to read very small images (e.g. 1x1 px)
  • new test cases added
  • detect incomplete files by checking the end of streams as written in the specs

Merge request reports

Loading