[libpng16] Added "/* SAFE */" comments in pngrutil.c and pngrtran.c

where warnings may be erroneously issued by code-checking applications.
Revised manual about changes in iTXt chunk handling made in libpng-1.6.0.
This commit is contained in:
Glenn Randers-Pehrson
2013-07-15 08:44:53 -05:00
parent 2b87a54d07
commit bc8e40d611
4 changed files with 22 additions and 10 deletions

View File

@@ -3694,7 +3694,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_bytes does not exceed 64 */
int j;
memcpy(v, sp, pixel_bytes);