mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng17] Fixed some misleading indentation (Krishnaraj Bhat).
This commit is contained in:
parent
6d2e06f25f
commit
bbe8ea6eb0
5
ANNOUNCE
5
ANNOUNCE
@ -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
|
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.
|
||||||
@ -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.
|
32 bits of address space when size_t/ptrdiff_t are 64 bit types.
|
||||||
Revised workaround for false-positive Coverity issue in pngvalid.c.
|
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.
|
Only use exit(77) in configure builds.
|
||||||
Corrected error in PNG_IMAGE_PNG_SIZE_MAX. This new macro underreported
|
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
|
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.)
|
to higher values.)
|
||||||
Changed PNG_INFO_cHNK and PNG_FREE_cHNK from 0xnnnn to 0xnnnnU in png.h
|
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.
|
(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
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
6
CHANGES
6
CHANGES
@ -4922,7 +4922,8 @@ Version 1.7.0beta40 [November 6, 2014]
|
|||||||
(bug report by Marcin Juszkiewicz, fix by John Bowler).
|
(bug report by Marcin Juszkiewicz, fix by John Bowler).
|
||||||
Use png_get_libpng_ver(NULL) instead of PNG_LIBPNG_VER_STRING in
|
Use png_get_libpng_ver(NULL) instead of PNG_LIBPNG_VER_STRING in
|
||||||
example.c, pngtest.c, and applications in the contrib directory.
|
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().
|
Simplified and future-proofed png_user_version_check().
|
||||||
Fixed GCC unsigned int->float warnings. Various versions of GCC
|
Fixed GCC unsigned int->float warnings. Various versions of GCC
|
||||||
seem to generate warnings when an unsigned value is implicitly
|
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.
|
32 bits of address space when size_t/ptrdiff_t are 64 bit types.
|
||||||
Revised workaround for false-positive Coverity issue in pngvalid.c.
|
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.
|
Only use exit(77) in configure builds.
|
||||||
Corrected error in PNG_IMAGE_PNG_SIZE_MAX. This new macro underreported
|
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
|
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.)
|
to higher values.)
|
||||||
Changed PNG_INFO_cHNK and PNG_FREE_cHNK from 0xnnnn to 0xnnnnU in png.h
|
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.
|
(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
|
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||||
(subscription required; visit
|
(subscription required; visit
|
||||||
|
2
pngget.c
2
pngget.c
@ -1140,6 +1140,7 @@ png_get_user_chunk_ptr(png_const_structrp png_ptr)
|
|||||||
{
|
{
|
||||||
if (png_ptr)
|
if (png_ptr)
|
||||||
return png_ptr->user_chunk_ptr;
|
return png_ptr->user_chunk_ptr;
|
||||||
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
#endif
|
#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)
|
# if defined(PNG_SEQUENTIAL_READ_SUPPORTED) || defined(PNG_WRITE_SUPPORTED)
|
||||||
return png_ptr->IDAT_size;
|
return png_ptr->IDAT_size;
|
||||||
|
|
||||||
# else
|
# else
|
||||||
return PNG_IDAT_READ_SIZE; /* progressive reader */
|
return PNG_IDAT_READ_SIZE; /* progressive reader */
|
||||||
# endif
|
# endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user