diff options
author | Linus Groh <mail@linusgroh.de> | 2021-01-17 00:51:41 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-17 08:09:20 +0100 |
commit | 95988b44a0f28dab0cc9cf7876836fb618e6eb58 (patch) | |
tree | 28eef948d3cc111ef3610bb93b57194a711eaa53 /Ports | |
parent | 6d20b54b093843502d3175bc2cdf7d04d3d8fe45 (diff) | |
download | serenity-95988b44a0f28dab0cc9cf7876836fb618e6eb58.zip |
LibGfx: Let PNGLoader handle failed chunk decoding gracefully
decode_png_chunks() is not handling "critical" chunks, unlike
decode_png_size() for example. When we encounter a chunk decoding
failure, e.g. because not enough bytes were left to read, just continue
with decoding the bitmap - which will fail on its own, if we're missing
some required chunk(s).
Fixes #4984.
Diffstat (limited to 'Ports')
0 files changed, 0 insertions, 0 deletions