Ignore PLTE chunks in non-palette PNGs

Bug: oss-fuzz:10020
Change-Id: I2dd0dd07983fcc851ea6ec0980a5a30dbe312b62
Reviewed-on: https://skia-review.googlesource.com/149261
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Commit-Queue: Leon Scroggins <scroggo@google.com>
This commit is contained in:
Leon Scroggins III 2018-08-24 17:17:59 -04:00 committed by Skia Commit-Bot
parent 793324cf4d
commit fdd5b69fef

View File

@ -6,3 +6,4 @@
*/
#include "../externals/libpng/scripts/pnglibconf.h.prebuilt"
#undef PNG_READ_OPT_PLTE_SUPPORTED