Glenn Randers-Pehrson
41de766f12
[libpng14] Fixed the recently reported 1's complement security issue by
...
replacing the value that is illegal in the PNG spec, in both signed and
unsigned values, with 0. Illegal unsigned values (anything greater than or equal
to 0x80000000) can still pass through, but since these are not illegal
in ANSI-C (unlike 0x80000000 in the signed case) the checking that
occurs later can catch them (John Bowler).
Safely convert num_bytes to a png_byte in png_set_sig_bytes() (Robert
Seacord).
2015-08-19 12:47:00 -05:00
Glenn Randers-Pehrson
46243cd1e5
[libpng14] Imported from libpng-1.4.16.tar
2015-03-19 09:56:21 -05:00
Glenn Randers-Pehrson
4743e9e892
[libpng14] Quieted more harmless warnings from Coverity-scan.
2015-02-06 11:57:17 -06:00
Glenn Randers-Pehrson
b157898378
[libpng14] Imported from libpng-1.4.11.tar
2012-03-29 06:31:35 -05:00
Glenn Randers-Pehrson
7d76ba7393
[libpng14] Imported from libpng-1.4.10.tar
2012-03-14 23:39:48 -05:00
Glenn Randers-Pehrson
8f23c92642
[libpng14] Imported from libpng-1.4.10rc02.tar
2012-03-06 16:43:21 -06:00
Glenn Randers-Pehrson
a8c319a2b2
[libpng14] Fixed off-by-one bug in png_handle_sCAL() when using fixed point
...
arithmetic, causing out-of-bounds read in png_set_sCAL() because of failure
to copy the string terminators (Franke Busse).
2012-02-26 20:31:00 -06:00
Glenn Randers-Pehrson
13f1247654
[libpng14] Fixed bug with png_handle_hIST with odd chunk length (Frank Busse).
2012-02-21 14:57:59 -06:00
Glenn Randers-Pehrson
0d95b3d8dc
[libpng14] Removed two useless #ifdef directives from pngread.c and
...
one from pngrutil.c
2012-02-19 22:58:50 -06:00
Glenn Randers-Pehrson
8beb593bc2
[libpng14] Bump version to 1.4.10beta01
2012-02-19 21:28:40 -06:00
Glenn Randers-Pehrson
a22646a5df
[libpng14] Imported from libpng-1.4.9rc01.tar
2012-02-18 23:43:25 -06:00
Glenn Randers-Pehrson
3ef6c2439c
[libpng14] Imported from libpng-1.4.9beta01.tar
2012-02-18 23:43:23 -06:00
Glenn Randers-Pehrson
e7625063dc
[master] Imported from libpng-1.4.8.tar
2011-07-07 06:41:17 -05:00
Glenn Randers-Pehrson
24f40e321c
[master] Imported from libpng-1.4.8rc01.tar
2011-06-30 19:58:41 -05:00
Glenn Randers-Pehrson
61a2d8a2a7
[master] Check for sCAL chunk too short.
2011-06-18 14:51:09 -05:00
Glenn Randers-Pehrson
31f4e52842
[master] Fixed a bug (present since libpng-1.0.7) that makes png_handle_sPLT()
...
fail to compile when PNG_NO_POINTER_INDEXING is defined.
2011-03-21 18:20:24 -05:00
Glenn Randers-Pehrson
8709982e22
[master] Bump to version 1.4.6beta06
2011-03-18 22:25:49 -05:00
Glenn Randers-Pehrson
686d45dcfd
[master] Imported from libpng-1.4.6beta06.tar
2011-03-18 22:22:18 -05:00
Glenn Randers-Pehrson
603c9fd959
[master] Added the private PNG_UNUSED() macro definition in pngpriv.h.
2011-03-08 11:33:28 -06:00
Glenn Randers-Pehrson
97d2d68428
[master] Imported from libpng-1.4.6beta05.tar
2011-01-22 21:22:48 -06:00
Glenn Randers-Pehrson
c4ff4e7167
[master] Imported from libpng-1.4.6beta04.tar
2011-01-21 22:20:15 -06:00
Glenn Randers-Pehrson
379d0160ea
[master] Added const_png_structp and const_png_infop types, and used them in
...
prototypes for most png_get_*() functions.
In the manual, describe the png_get_IHDR() arguments in the correct order.
2011-01-21 11:09:07 -06:00
Glenn Randers-Pehrson
a10d488a32
[master] Imported from libpng-1.4.6beta03.tar
2011-01-14 21:04:40 -06:00
Glenn Randers-Pehrson
25d754e86d
[master] Bump to version 1.4.6beta02
2011-01-14 20:26:03 -06:00
Glenn Randers-Pehrson
bba85637d7
[master] Imported from libpng-1.4.6beta02.tar
2011-01-14 17:26:54 -06:00
Glenn Randers-Pehrson
1daf8980dd
[master] Bump to version 1.4.6beta02
2010-12-31 09:04:02 -06:00
Glenn Randers-Pehrson
5945408a93
[master] Imported from libpng-1.4.6beta01.tar
2010-12-31 08:06:37 -06:00
Glenn Randers-Pehrson
fb05477e11
[master] Bump version to 1.4.6beta01
2010-12-27 09:04:59 -06:00
Glenn Randers-Pehrson
6916ec5fa9
[master] Bump to version 1.4.5rc04
2010-12-09 07:12:52 -06:00
Glenn Randers-Pehrson
acb4822f6b
[master] Removed PNG_NO_WRITE_GAMMA from pngminim/encoder/pngusr.h
...
and some cosmetic changes to some source files.
2010-12-09 06:43:24 -06:00
Glenn Randers-Pehrson
79fb836d66
[master] Imported from libpng-1.4.5rc03.tar
2010-12-03 10:02:23 -06:00
Glenn Randers-Pehrson
010110a0be
[master] Imported from libpng-1.4.5rc02.tar
2010-12-02 07:05:34 -06:00
Glenn Randers-Pehrson
ff244b6181
[master] Bump to version 1.4.5beta07
2010-11-24 15:04:15 -06:00
Glenn Randers-Pehrson
2922c07e67
[master] Changes to remove gcc warnings (John Bowler)
2010-11-21 14:02:16 -06:00
Glenn Randers-Pehrson
377e3ca5e6
[master] Added a comment about the parentheses in pngrutil.c
2010-11-20 22:56:49 -06:00
Glenn Randers-Pehrson
f320728911
[master] Restored the parentheses in pngrutil.c; they are needed when the
...
png_get_*int_*() functions are compiled (i.e., when PNG_USE_READ_MACROS
is not defined).
2010-11-20 21:41:51 -06:00
Glenn Randers-Pehrson
b4a5d88e0a
[master] Updated png_get_uint_32 like the others (i -> val).
2010-11-20 18:01:52 -06:00
Glenn Randers-Pehrson
7ea0b3b9e2
[master] Bump to version 1.4.5rc02
2010-11-20 18:01:01 -06:00
Glenn Randers-Pehrson
8aa84c7fce
[master] Imported from libpng-1.4.5beta05.tar
2010-11-20 17:15:36 -06:00
Glenn Randers-Pehrson
1f5a0b9fa6
[master] Moved reading of file signature into png_read_sig (Cosmin)
2010-11-20 15:50:51 -06:00
Glenn Randers-Pehrson
6bb02b28a1
[master] Revised png_get_int_32 and png_get_int_16 functions.
2010-11-20 15:00:35 -06:00
Glenn Randers-Pehrson
60ba227d57
[master] Removed some extraneous parentheses that appeared in pngrutil.c of
...
libpng-1.4.3bet01
2010-11-20 14:47:36 -06:00
Glenn Randers-Pehrson
8493de3cee
[master] Imported from libpng-1.4.4.tar
2010-09-23 07:22:01 -05:00
Glenn Randers-Pehrson
b08f330d62
[master] Eliminated new unnecessary #if tests regarding the sCAL chunk
...
from pngrutil.c
2010-08-24 12:38:36 -05:00
Glenn Randers-Pehrson
2af7ef63c3
[master] Updated the read macros and functions from 1.5.0beta38.
2010-07-31 16:37:38 -05:00
Glenn Randers-Pehrson
d6a0cbaade
[master] Removed some newly-added TAB characters from pngpread.c
...
and pngrtran.c, and fixed some indentation in pngpread.c and pngrutil.c
2010-06-30 23:07:02 -05:00
Glenn Randers-Pehrson
097485195c
[master] Imported from libpng-1.4.3.tar
2010-06-25 20:22:08 -05:00
Glenn Randers-Pehrson
c5f6fa110a
[master] Imported from libpng-1.4.3rc03.tar
2010-06-25 20:20:16 -05:00
Glenn Randers-Pehrson
90cfcecc09
[master] Imported from libpng-1.4.3rc02.tar
2010-06-25 20:20:14 -05:00
Glenn Randers-Pehrson
2a6227941e
[master] Imported from libpng-1.4.3beta01.tar
2010-06-25 20:20:02 -05:00