[libpng16] Removed a redundant test (suggested by "irwir" in Github issue #180).
This commit is contained in:
parent
5f0c9fabbc
commit
5efa483265
1
ANNOUNCE
1
ANNOUNCE
@ -53,6 +53,7 @@ Version 1.6.33rc01 [September 20, 2017]
|
|||||||
Initialize memory allocated by png_read_buffer to zero, using memset, to
|
Initialize memory allocated by png_read_buffer to zero, using memset, to
|
||||||
stop an oss-fuzz "use of uninitialized value" detection in
|
stop an oss-fuzz "use of uninitialized value" detection in
|
||||||
png_icc_check_tag_table()() due to truncated iCCP chunk.
|
png_icc_check_tag_table()() due to truncated iCCP chunk.
|
||||||
|
Removed a redundant test (suggested by "irwir" in Github issue #180).
|
||||||
|
|
||||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
1
CHANGES
1
CHANGES
@ -6023,6 +6023,7 @@ Version 1.6.33rc01 [September 20, 2017]
|
|||||||
Initialize memory allocated by png_read_buffer to zero, using memset, to
|
Initialize memory allocated by png_read_buffer to zero, using memset, to
|
||||||
stop an oss-fuzz "use of uninitialized value" detection in
|
stop an oss-fuzz "use of uninitialized value" detection in
|
||||||
png_icc_check_tag_table()() due to truncated iCCP chunk.
|
png_icc_check_tag_table()() due to truncated iCCP chunk.
|
||||||
|
Removed a redundant test (suggested by "irwir" in Github issue #180).
|
||||||
|
|
||||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
@ -738,9 +738,7 @@ png_decompress_chunk(png_structrp png_ptr,
|
|||||||
{
|
{
|
||||||
/* inflateReset failed, store the error message */
|
/* inflateReset failed, store the error message */
|
||||||
png_zstream_error(png_ptr, ret);
|
png_zstream_error(png_ptr, ret);
|
||||||
|
ret = PNG_UNEXPECTED_ZLIB_RETURN;
|
||||||
if (ret == Z_STREAM_END)
|
|
||||||
ret = PNG_UNEXPECTED_ZLIB_RETURN;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user