[libpng17] Imported from libpng-1.7.0beta66.tar

This commit is contained in:
Glenn Randers-Pehrson
2015-10-02 13:31:29 -05:00
parent 33d4b5b66d
commit 2ddd06c392
17 changed files with 63 additions and 56 deletions

View File

@@ -1543,7 +1543,7 @@ png_do_byte_ops_down(png_transformp *transform, png_transform_controlp tc)
const png_uint_32 codes = tr->codes;
png_uint_32 code = codes;
unsigned int size, hwm, i;
png_byte output[32];
png_byte output[32] = { 0 };
/* This catches an empty codes array, which would cause all the input to
* be skipped and, potentially, a garbage output[] to be written (once) to