mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng16] Initialize profile_header[] in png_handle_iCCP() to fix OSS-fuzz issue.
This commit is contained in:
parent
1ebe4f75cc
commit
c5c778bcfc
1
ANNOUNCE
1
ANNOUNCE
@ -86,6 +86,7 @@ Version 1.6.32beta11 [August 6, 2017]
|
|||||||
Make pngtest --strict, --relax, --xfail options imply -m (multiple).
|
Make pngtest --strict, --relax, --xfail options imply -m (multiple).
|
||||||
Removed unused chunk_name parameter from png_check_chunk_length().
|
Removed unused chunk_name parameter from png_check_chunk_length().
|
||||||
Relocated setting free_me for eXIf data, to stop an OSS-fuzz leak.
|
Relocated setting free_me for eXIf data, to stop an OSS-fuzz leak.
|
||||||
|
Initialize profile_header[] in png_handle_iCCP() to fix OSS-fuzz issue.
|
||||||
|
|
||||||
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
@ -5969,6 +5969,7 @@ Version 1.6.32beta11 [August 6, 2017]
|
|||||||
Make pngtest --strict, --relax, --xfail options imply -m (multiple).
|
Make pngtest --strict, --relax, --xfail options imply -m (multiple).
|
||||||
Removed unused chunk_name parameter from png_check_chunk_length().
|
Removed unused chunk_name parameter from png_check_chunk_length().
|
||||||
Relocated setting free_me for eXIf data, to stop an OSS-fuzz leak.
|
Relocated setting free_me for eXIf data, to stop an OSS-fuzz leak.
|
||||||
|
Initialize profile_header[] in png_handle_iCCP() to fix OSS-fuzz issue.
|
||||||
|
|
||||||
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
|
||||||
|
@ -1434,7 +1434,7 @@ png_handle_iCCP(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length)
|
|||||||
|
|
||||||
if (png_inflate_claim(png_ptr, png_iCCP) == Z_OK)
|
if (png_inflate_claim(png_ptr, png_iCCP) == Z_OK)
|
||||||
{
|
{
|
||||||
Byte profile_header[132];
|
Byte profile_header[132]={0};
|
||||||
Byte local_buffer[PNG_INFLATE_BUF_SIZE];
|
Byte local_buffer[PNG_INFLATE_BUF_SIZE];
|
||||||
png_alloc_size_t size = (sizeof profile_header);
|
png_alloc_size_t size = (sizeof profile_header);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user