mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng17] Updated CHANGES and ANNOUNCE, fixed typo in pngunknown.c comment.
This commit is contained in:
parent
e46cd2e6bc
commit
f26fa77ef8
26
ANNOUNCE
26
ANNOUNCE
@ -1,5 +1,5 @@
|
||||
|
||||
Libpng 1.7.0beta78 - January 17, 2016
|
||||
Libpng 1.7.0beta78 - January 19, 2016
|
||||
|
||||
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.
|
||||
@ -1212,11 +1212,31 @@ Version 1.7.0beta77 [January 16, 2016]
|
||||
there is an unrelated bug which means that lower zlib memLevels result
|
||||
in memory corruption under some circumstances, probably less often
|
||||
than 1:1000.
|
||||
Worked around a false-positive Coverity issue in pngvalid.c.
|
||||
Attempted to work around a false-positive Coverity issue in pngvalid.c.
|
||||
|
||||
Version 1.7.0beta78 [January 17, 2016]
|
||||
Version 1.7.0beta78 [January 19, 2016]
|
||||
Changed PNG_USE_MKSTEMP to __COVERITY__ to select alternate
|
||||
"tmpfile()" implementation in contrib/libtests/pngstest.c
|
||||
Fixed NO_STDIO build of pngunknown.c to skip calling png_init_io()
|
||||
if there is no stdio.h support.
|
||||
Added an API and a number of assist macros to allow an application
|
||||
that uses the simplified API write to bypass stdio and write
|
||||
directly to memory.
|
||||
Added some warnings (png.h) and some check code to detect *possible*
|
||||
overflow in the ROW_STRIDE and simplified image SIZE macros. This
|
||||
disallows image width/height/format that *might* overflow. This is
|
||||
a quiet API change that limits in-memory image size (uncompressed) to
|
||||
less than 4GByte and image row size (stride) to less than 2GByte.
|
||||
Revised Simplified API to use system appropriate types. This is
|
||||
an API change for 1.7, albeit a quiet one; it may produce compiler
|
||||
warnings but should not result in errors, unless warnings are treated
|
||||
as errors. On 64-bit systems it widens the results of the various
|
||||
PNG_IMAGE_ macros that return size values (component counts, byte sizes)
|
||||
to 64 bits. It also changes the row_stride parameter, which is the
|
||||
pointer difference between adjacent rows of the image buffer, to
|
||||
the ANSI-C90 defined type ptrdiff_t. The existing (1.6.22) checks for
|
||||
overflow are preserved but now accomodate images that require more than
|
||||
32 bits of address space when size_t/ptrdiff_t are 64 bit types.
|
||||
|
||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||
(subscription required; visit
|
||||
|
24
CHANGES
24
CHANGES
@ -5511,11 +5511,31 @@ Version 1.7.0beta77 [January 16, 2016]
|
||||
there is an unrelated bug which means that lower zlib memLevels result
|
||||
in memory corruption under some circumstances, probably less often
|
||||
than 1:1000.
|
||||
Worked around a false-positive Coverity issue in pngvalid.c.
|
||||
Attempted to work around a false-positive Coverity issue in pngvalid.c.
|
||||
|
||||
Version 1.7.0beta78 [January 17, 2016]
|
||||
Version 1.7.0beta78 [January 19, 2016]
|
||||
Changed PNG_USE_MKSTEMP to __COVERITY__ to select alternate
|
||||
"tmpfile()" implementation in contrib/libtests/pngstest.c
|
||||
Fixed NO_STDIO build of pngunknown.c to skip calling png_init_io()
|
||||
if there is no stdio.h support.
|
||||
Added an API and a number of assist macros to allow an application
|
||||
that uses the simplified API write to bypass stdio and write
|
||||
directly to memory.
|
||||
Added some warnings (png.h) and some check code to detect *possible*
|
||||
overflow in the ROW_STRIDE and simplified image SIZE macros. This
|
||||
disallows image width/height/format that *might* overflow. This is
|
||||
a quiet API change that limits in-memory image size (uncompressed) to
|
||||
less than 4GByte and image row size (stride) to less than 2GByte.
|
||||
Revised Simplified API to use system appropriate types. This is
|
||||
an API change for 1.7, albeit a quiet one; it may produce compiler
|
||||
warnings but should not result in errors, unless warnings are treated
|
||||
as errors. On 64-bit systems it widens the results of the various
|
||||
PNG_IMAGE_ macros that return size values (component counts, byte sizes)
|
||||
to 64 bits. It also changes the row_stride parameter, which is the
|
||||
pointer difference between adjacent rows of the image buffer, to
|
||||
the ANSI-C90 defined type ptrdiff_t. The existing (1.6.22) checks for
|
||||
overflow are preserved but now accomodate images that require more than
|
||||
32 bits of address space when size_t/ptrdiff_t are 64 bit types.
|
||||
|
||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||
(subscription required; visit
|
||||
|
@ -1008,7 +1008,7 @@ perform_one_test(FILE *fp, int argc, const char **argv,
|
||||
* chunk_info 'keep' fields.)
|
||||
*
|
||||
* Note that the flag setting has to be in the 'known' field to avoid
|
||||
* triggeriing the consistency check below and the flag must only be set if
|
||||
* triggering the consistency check below and the flag must only be set if
|
||||
* there are multiple IDATs, so if the check above did find an unknown IDAT
|
||||
* after IDAT.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user