[libpng16] Imported from libpng-1.6.20beta03.tar

This commit is contained in:
Glenn Randers-Pehrson
2015-11-24 07:34:37 -06:00
parent 8a08b6457a
commit 92ec30a3b1
31 changed files with 77 additions and 71 deletions

View File

@@ -133,7 +133,7 @@ png_process_some_data(png_structrp png_ptr, png_inforp info_ptr)
void /* PRIVATE */
png_push_read_sig(png_structrp png_ptr, png_inforp info_ptr)
{
png_size_t num_checked = png_ptr->sig_bytes, /* SAFE, does not exceed 8 */
png_size_t num_checked = png_ptr->sig_bytes, /* SAFE, does not exceed 8 */
num_to_check = 8 - num_checked;
if (png_ptr->buffer_size < num_to_check)