[libpng17] Fixed some misleading indentation (Krishnaraj Bhat).

This commit is contained in:
Glenn Randers-Pehrson 2016-03-07 07:49:09 -06:00
parent 6d2e06f25f
commit bbe8ea6eb0
5 changed files with 115 additions and 110 deletions

View File

@ -1,5 +1,5 @@
Libpng 1.7.0beta79 - February 14, 2016
Libpng 1.7.0beta79 - March 7, 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.
@ -1239,7 +1239,7 @@ Version 1.7.0beta78 [January 23, 2016]
32 bits of address space when size_t/ptrdiff_t are 64 bit types.
Revised workaround for false-positive Coverity issue in pngvalid.c.
Version 1.7.0beta79 [February 14, 2016]
Version 1.7.0beta79 [March 7, 2016]
Only use exit(77) in configure builds.
Corrected error in PNG_IMAGE_PNG_SIZE_MAX. This new macro underreported
the palette size because it failed to take into account that the memory
@ -1262,6 +1262,7 @@ Version 1.7.0beta79 [February 14, 2016]
to higher values.)
Changed PNG_INFO_cHNK and PNG_FREE_cHNK from 0xnnnn to 0xnnnnU in png.h
(Robert C. Seacord). Various other flags in png.h made unsigned as well.
Fixed some misleading indentation (Krishnaraj Bhat).
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit

View File

@ -4922,7 +4922,8 @@ Version 1.7.0beta40 [November 6, 2014]
(bug report by Marcin Juszkiewicz, fix by John Bowler).
Use png_get_libpng_ver(NULL) instead of PNG_LIBPNG_VER_STRING in
example.c, pngtest.c, and applications in the contrib directory.
Avoid out-of-bounds memory access in png_user_version_check().
Fixed an out-of-range read in png_user_version_check() (Bug report from
Qixue Xiao, CVE-2015-8540).
Simplified and future-proofed png_user_version_check().
Fixed GCC unsigned int->float warnings. Various versions of GCC
seem to generate warnings when an unsigned value is implicitly
@ -5538,7 +5539,7 @@ Version 1.7.0beta78 [January 23, 2016]
32 bits of address space when size_t/ptrdiff_t are 64 bit types.
Revised workaround for false-positive Coverity issue in pngvalid.c.
Version 1.7.0beta79 [February 14, 2016]
Version 1.7.0beta79 [March 7, 2016]
Only use exit(77) in configure builds.
Corrected error in PNG_IMAGE_PNG_SIZE_MAX. This new macro underreported
the palette size because it failed to take into account that the memory
@ -5561,6 +5562,7 @@ Version 1.7.0beta79 [February 14, 2016]
to higher values.)
Changed PNG_INFO_cHNK and PNG_FREE_cHNK from 0xnnnn to 0xnnnnU in png.h
(Robert C. Seacord). Various other flags in png.h made unsigned as well.
Fixed some misleading indentation (Krishnaraj Bhat).
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
(subscription required; visit

View File

@ -1140,6 +1140,7 @@ png_get_user_chunk_ptr(png_const_structrp png_ptr)
{
if (png_ptr)
return png_ptr->user_chunk_ptr;
return NULL;
}
#endif
@ -1152,6 +1153,7 @@ png_get_compression_buffer_size(png_const_structrp png_ptr)
# if defined(PNG_SEQUENTIAL_READ_SUPPORTED) || defined(PNG_WRITE_SUPPORTED)
return png_ptr->IDAT_size;
# else
return PNG_IDAT_READ_SIZE; /* progressive reader */
# endif