[libpng12] Prevent writing over-length PLTE chunk (Cosmin Truta) and

silently truncate over-length PLTE chunk while reading.
This commit is contained in:
Glenn Randers-Pehrson
2015-10-31 08:39:01 -05:00
parent 856a76b285
commit 475bab6170
4 changed files with 29 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
/* pngwrite.c - general routines to write a PNG file
*
* Last changed in libpng 1.2.53 [February 26, 2015]
* Last changed in libpng 1.2.54 [October 31, 2015]
* Copyright (c) 1998-2015 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
* (Version 0.88 Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc.)