[libpng16] Relocate new memset() call in pngrutil.c (irwir).
This commit is contained in:
parent
60d297d592
commit
0165badb9d
3
ANNOUNCE
3
ANNOUNCE
@ -56,7 +56,8 @@ Version 1.6.33rc01 [September 20, 2017]
|
||||
Removed a redundant test (suggested by "irwir" in Github issue #180).
|
||||
|
||||
Version 1.6.33rc02 [September 22, 2017]
|
||||
Added interlaced versions of each file in contrib/pngsuite.
|
||||
Added an interlaced version of each file in contrib/pngsuite.
|
||||
Relocate new memset() call in pngrutil.c.
|
||||
|
||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||
(subscription required; visit
|
||||
|
3
CHANGES
3
CHANGES
@ -6026,7 +6026,8 @@ Version 1.6.33rc01 [September 20, 2017]
|
||||
Removed a redundant test (suggested by "irwir" in Github issue #180).
|
||||
|
||||
Version 1.6.33rc02 [September 22, 2017]
|
||||
Added interlaced versions of each file in contrib/pngsuite.
|
||||
Added an interlaced version of each file in contrib/pngsuite.
|
||||
Relocate new memset() call in pngrutil.c.
|
||||
|
||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||
(subscription required; visit
|
||||
|
@ -671,10 +671,11 @@ png_decompress_chunk(png_structrp png_ptr,
|
||||
(terminate != 0);
|
||||
png_bytep text = png_voidcast(png_bytep, png_malloc_base(png_ptr,
|
||||
buffer_size));
|
||||
memset(text, 0, buffer_size);
|
||||
|
||||
if (text != NULL)
|
||||
{
|
||||
memset(text, 0, buffer_size);
|
||||
|
||||
ret = png_inflate(png_ptr, png_ptr->chunk_name, 1/*finish*/,
|
||||
png_ptr->read_buffer + prefix_size, &lzsize,
|
||||
text + prefix_size, newlength);
|
||||
|
Loading…
Reference in New Issue
Block a user