[libpng17] Port recent /*SAFE*/ comments and manual changes from libpng16

This commit is contained in:
Glenn Randers-Pehrson
2013-07-15 10:28:48 -05:00
parent bb06552075
commit 394bc6cdee
6 changed files with 34 additions and 18 deletions

View File

@@ -3654,7 +3654,7 @@ png_do_read_interlace(png_row_infop row_info, png_bytep row, int pass,
for (i = 0; i < row_info->width; i++)
{
png_byte v[8];
png_byte v[8]; /* SAFE; pixel_depth does not exceed 64 */
int j;
memcpy(v, sp, pixel_bytes);