[libpng16] Imported from libpng-1.6.30rc02.tar

This commit is contained in:
Glenn Randers-Pehrson
2017-06-25 13:12:05 -05:00
parent 87cd2dc07d
commit 8d9b78e537
28 changed files with 71 additions and 64 deletions

View File

@@ -2540,6 +2540,7 @@ png_handle_zTXt(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length)
/* Note, "length" is sufficient here; we won't be adding
* a null terminator later.
*/
buffer = png_read_buffer(png_ptr, length, 2/*silent*/);
if (buffer == NULL)