mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[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:
19
ANNOUNCE
19
ANNOUNCE
@@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
Libpng 1.6.3rc01 - July 11, 2013
|
Libpng 1.6.3rc02 - July 15, 2013
|
||||||
|
|
||||||
This is not intended to be a public release. It will be replaced
|
This is not intended to be a public release. It will be replaced
|
||||||
within a few weeks by a public version or by another test version.
|
within a few weeks by a public version or by another test version.
|
||||||
@@ -9,19 +9,19 @@ Files available for download:
|
|||||||
Source files with LF line endings (for Unix/Linux) and with a
|
Source files with LF line endings (for Unix/Linux) and with a
|
||||||
"configure" script
|
"configure" script
|
||||||
|
|
||||||
1.6.3rc01.tar.xz (LZMA-compressed, recommended)
|
1.6.3rc02.tar.xz (LZMA-compressed, recommended)
|
||||||
1.6.3rc01.tar.gz
|
1.6.3rc02.tar.gz
|
||||||
|
|
||||||
Source files with CRLF line endings (for Windows), without the
|
Source files with CRLF line endings (for Windows), without the
|
||||||
"configure" script
|
"configure" script
|
||||||
|
|
||||||
lp163r01.7z (LZMA-compressed, recommended)
|
lp163r02.7z (LZMA-compressed, recommended)
|
||||||
lp163r01.zip
|
lp163r02.zip
|
||||||
|
|
||||||
Other information:
|
Other information:
|
||||||
|
|
||||||
1.6.3rc01-README.txt
|
1.6.3rc02-README.txt
|
||||||
1.6.3rc01-LICENSE.txt
|
1.6.3rc02-LICENSE.txt
|
||||||
|
|
||||||
Changes since the last public release (1.6.2):
|
Changes since the last public release (1.6.2):
|
||||||
|
|
||||||
@@ -127,6 +127,11 @@ Version 1.6.3beta10 [July 5, 2013]
|
|||||||
Version 1.6.3rc01 [July 11, 2013]
|
Version 1.6.3rc01 [July 11, 2013]
|
||||||
No changes.
|
No changes.
|
||||||
|
|
||||||
|
Version 1.6.3rc02 [July 15, 2013]
|
||||||
|
Revised manual about changes in iTXt chunk handling made in libpng-1.6.0.
|
||||||
|
Added "/* SAFE */" comments in pngrutil.c and pngrtran.c where warnings
|
||||||
|
may be erroneously issued by code-checking applications.
|
||||||
|
|
||||||
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
|
||||||
https://lists.sourceforge.net/lists/listinfo/png-mng-implement
|
https://lists.sourceforge.net/lists/listinfo/png-mng-implement
|
||||||
|
|||||||
9
CHANGES
9
CHANGES
@@ -4047,7 +4047,9 @@ Version 1.6.0beta17 [March 10, 2012]
|
|||||||
Deflate/inflate was reworked to move common zlib calls into single
|
Deflate/inflate was reworked to move common zlib calls into single
|
||||||
functions [rw]util.c. A new shared keyword check routine was also added
|
functions [rw]util.c. A new shared keyword check routine was also added
|
||||||
and the 'zbuf' is no longer allocated on progressive read. It is now
|
and the 'zbuf' is no longer allocated on progressive read. It is now
|
||||||
possible to call png_inflate() incrementally.
|
possible to call png_inflate() incrementally. A warning is no longer
|
||||||
|
issued if the language tag or translated keyword in the iTXt chunk
|
||||||
|
has zero length.
|
||||||
If benign errors are disabled use maximum window on ancilliary inflate.
|
If benign errors are disabled use maximum window on ancilliary inflate.
|
||||||
This works round a bug introduced in 1.5.4 where compressed ancillary
|
This works round a bug introduced in 1.5.4 where compressed ancillary
|
||||||
chunks could end up with a too-small windowBits value in the deflate
|
chunks could end up with a too-small windowBits value in the deflate
|
||||||
@@ -4611,6 +4613,11 @@ Version 1.6.3beta10 [July 5, 2013]
|
|||||||
Version 1.6.3rc01 [July 11, 2013]
|
Version 1.6.3rc01 [July 11, 2013]
|
||||||
No changes.
|
No changes.
|
||||||
|
|
||||||
|
Version 1.6.3rc02 [July 15, 2013]
|
||||||
|
Revised manual about changes in iTXt chunk handling made in libpng-1.6.0.
|
||||||
|
Added "/* SAFE */" comments in pngrutil.c and pngrtran.c where warnings
|
||||||
|
may be erroneously issued by code-checking applications.
|
||||||
|
|
||||||
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
|
||||||
https://lists.sourceforge.net/lists/listinfo/png-mng-implement
|
https://lists.sourceforge.net/lists/listinfo/png-mng-implement
|
||||||
|
|||||||
@@ -151,7 +151,7 @@ png_process_some_data(png_structrp png_ptr, png_inforp info_ptr)
|
|||||||
void /* PRIVATE */
|
void /* PRIVATE */
|
||||||
png_push_read_sig(png_structrp png_ptr, png_inforp info_ptr)
|
png_push_read_sig(png_structrp png_ptr, png_inforp info_ptr)
|
||||||
{
|
{
|
||||||
png_size_t num_checked = png_ptr->sig_bytes,
|
png_size_t num_checked = png_ptr->sig_bytes, /* SAFE, does not exceed 8 */
|
||||||
num_to_check = 8 - num_checked;
|
num_to_check = 8 - num_checked;
|
||||||
|
|
||||||
if (png_ptr->buffer_size < num_to_check)
|
if (png_ptr->buffer_size < num_to_check)
|
||||||
|
|||||||
@@ -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++)
|
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;
|
int j;
|
||||||
|
|
||||||
memcpy(v, sp, pixel_bytes);
|
memcpy(v, sp, pixel_bytes);
|
||||||
|
|||||||
Reference in New Issue
Block a user