mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng16] Quieted Coverity issues in pngfix.c, png-fix-itxt.c, pngvalid.c,
pngstest.c, and pngimage.c. Most seem harmless, but png-fix-itxt would only work with iTXt chunks with length 255 or less. Fixed cexcept.h in which GCC 5 reported that one of the auto variables in the Try macro needs to be volatile to prevent value being lost over the setjmp, and fixed g++ build breaks (John Bowler).
This commit is contained in:
@@ -2195,7 +2195,7 @@ png_do_write_interlace(png_row_infop row_info, png_bytep row, int pass)
|
||||
{
|
||||
png_bytep sp;
|
||||
png_bytep dp;
|
||||
int shift;
|
||||
unsigned int shift;
|
||||
int d;
|
||||
int value;
|
||||
png_uint_32 i;
|
||||
@@ -2233,7 +2233,7 @@ png_do_write_interlace(png_row_infop row_info, png_bytep row, int pass)
|
||||
{
|
||||
png_bytep sp;
|
||||
png_bytep dp;
|
||||
int shift;
|
||||
unsigned int shift;
|
||||
int d;
|
||||
int value;
|
||||
png_uint_32 i;
|
||||
@@ -2270,7 +2270,7 @@ png_do_write_interlace(png_row_infop row_info, png_bytep row, int pass)
|
||||
{
|
||||
png_bytep sp;
|
||||
png_bytep dp;
|
||||
int shift;
|
||||
unsigned int shift;
|
||||
int d;
|
||||
int value;
|
||||
png_uint_32 i;
|
||||
|
||||
Reference in New Issue
Block a user