diff --git a/ANNOUNCE b/ANNOUNCE index d6f500d3c..74efab17c 100644 --- a/ANNOUNCE +++ b/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 diff --git a/CHANGES b/CHANGES index 7fabbd2b0..0c01afd9e 100644 --- a/CHANGES +++ b/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 diff --git a/contrib/libtests/pngunknown.c b/contrib/libtests/pngunknown.c index 89077e4b1..eb8d6ad3b 100644 --- a/contrib/libtests/pngunknown.c +++ b/contrib/libtests/pngunknown.c @@ -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. */