summaryrefslogtreecommitdiff
path: root/Kernel/Devices
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-01-17 00:51:41 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-17 08:09:20 +0100
commit95988b44a0f28dab0cc9cf7876836fb618e6eb58 (patch)
tree28eef948d3cc111ef3610bb93b57194a711eaa53 /Kernel/Devices
parent6d20b54b093843502d3175bc2cdf7d04d3d8fe45 (diff)
downloadserenity-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 'Kernel/Devices')
0 files changed, 0 insertions, 0 deletions