Glenn Randers-Pehrson
d0023a7391
[libpng15] Suppress clang warnings about implicit sign changes in png.c
2017-03-01 15:37:30 -06:00
Glenn Randers-Pehrson
dbf3e10487
[libpng15] Bump version to 1.5.29beta01
2016-12-30 08:41:07 -06:00
Glenn Randers-Pehrson
ca76407b75
[libpng15] Fixed a potential null pointer dereference in png_set_text_2()
...
(bug report and patch by Patrick Keshishian)
2016-12-29 07:48:30 -06:00
Glenn Randers-Pehrson
aba2535d0f
[libpng15] Bump version to 1.5.28
2016-12-29 07:45:56 -06:00
Glenn Randers-Pehrson
8cae396a20
[libpng15] Imported from libpng-1.5.28rc01.tar
2016-12-27 08:24:09 -06:00
Glenn Randers-Pehrson
80d36775d4
Merge branch 'libpng15' of git://github.com/jbowler/libpng into libpng15
2016-12-26 19:27:37 -06:00
Glenn Randers-Pehrson
742c66f37c
[libpng15] none
2016-12-26 18:44:25 -06:00
John Bowler
95e0094f85
Eliminate signed overlow in png_64bit_product
...
The previous version produced a signed overflow as a result of both the
& 0xffff on the most significant bits of a negative argument; this
converted (-1) into 65535 which resulted in a subsequent overflow.
Since signed overflow is undefined in C90 the code has been modified to
correctly calculate a signed result. This requires changing the 'hi'
result parametr to a signed value.
This has been code reviewed solely by the author. A further code review
is highly desireable. Nevertheless the code compiles without warnings
from clang and without the prior detection of an overflow. Since it no
longer truncates any of the intermediate values this should be enough to
ensure that it is correct.
Signed-off-by: John Bowler <jbowler@acm.org>
2016-12-26 16:29:16 -08:00
Glenn Randers-Pehrson
94727db1ea
[libpng15] Bump version to 1.5.28beta01
2016-05-29 15:59:43 -05:00
Glenn Randers-Pehrson
6fb875a54e
[libpng15] Imported from libpng-1.5.27.tar
2016-05-26 07:24:57 -05:00
Glenn Randers-Pehrson
9c7338aa16
[libpng15] Imported from libpng-1.5.27rc01.tar
2016-05-14 09:42:35 -05:00
Glenn Randers-Pehrson
c5da514b08
[libpng15] Bump version to 1.5.27beta03
2016-05-11 06:42:58 -05:00
Glenn Randers-Pehrson
b78e99b1c9
[libpng15] Imported from libpng-1.5.27beta02.tar
2016-05-11 06:36:14 -05:00
Glenn Randers-Pehrson
d92b1c6305
[libpng15] Bump version to 1.5.27beta02
2016-03-09 12:04:24 -06:00
Glenn Randers-Pehrson
870fcc9b64
[libpng15] Imported from libpng-1.5.27beta01.tar
2016-03-09 12:04:14 -06:00
Glenn Randers-Pehrson
d189b54e30
[libpng15] Happy 2016! Updated copyright year.
2016-01-02 14:09:11 -06:00
Glenn Randers-Pehrson
684c68d6fb
[libpng15] Bump version to 1.5.27beta01
2015-12-17 20:09:18 -06:00
Glenn Randers-Pehrson
94322f3f8f
[libpng15] Imported from libpng-1.5.26.tar
2015-12-17 08:11:20 -06:00
Glenn Randers-Pehrson
8f1c1a6d8c
[libpng15] Imported from libpng-1.5.26rc01.tar
2015-12-13 21:44:19 -06:00
Glenn Randers-Pehrson
ad5f16c406
[libpng15] Bump version to 1.5.26beta02
2015-12-13 16:19:49 -06:00
Glenn Randers-Pehrson
29c1086ba3
[libpng15] Imported from libpng-1.5.26beta01.tar
2015-12-11 10:20:41 -06:00
Glenn Randers-Pehrson
456d614959
[libpng15] Bump version to 1.5.26beta01
2015-12-09 09:42:49 -06:00
Glenn Randers-Pehrson
93e111afc5
[libpng15] Imported from libpng-1.5.25.tar
2015-12-02 22:30:30 -06:00
Glenn Randers-Pehrson
3a1a5256fa
[libpng15] Imported from libpng-1.5.25rc01.tar
2015-11-26 07:04:16 -06:00
Glenn Randers-Pehrson
b5da27d211
[libpng15] Imported from libpng-1.5.25beta03.tar
2015-11-24 09:36:23 -06:00
Glenn Randers-Pehrson
17749bdd61
[libpng15] Imported from libpng-1.5.25beta02.tar
2015-11-23 09:29:33 -06:00
Glenn Randers-Pehrson
69ac844654
[libpng15] Bump version to 1.5.25beta02
2015-11-22 14:11:19 -06:00
Glenn Randers-Pehrson
635a8b9b84
[libpng15] Imported from libpng-1.5.25beta01.tar
2015-11-22 14:08:45 -06:00
Glenn Randers-Pehrson
b257d4a6a1
[libpng15] Bump version to 1.5.25beta01
2015-11-13 10:18:08 -06:00
Glenn Randers-Pehrson
df80d38897
[libpng15] Imported from libpng-1.5.24.tar
2015-11-12 07:13:10 -06:00
Glenn Randers-Pehrson
b6ec5eb74e
[libpng15] Imported from libpng-1.5.24rc04.tar
2015-11-05 06:59:22 -06:00
Glenn Randers-Pehrson
e4a9c63445
[libpng15] Imported from libpng-1.5.24rc02.tar
2015-11-03 08:12:20 -06:00
Glenn Randers-Pehrson
06c1be4b28
[libpng15] Bump version to 1.5.24rc02
2015-11-03 07:51:53 -06:00
Glenn Randers-Pehrson
9db953ad5b
[libpng15] Imported from libpng-1.5.24rc01.tar
2015-10-31 08:52:12 -05:00
Glenn Randers-Pehrson
39f8f0e6da
[libpng15] Bump version to 1.5.24beta03
2015-10-14 22:14:22 -05:00
Glenn Randers-Pehrson
51148c5255
[libpng15] Imported from libpng-1.5.24beta02.tar
2015-10-14 22:14:13 -05:00
Glenn Randers-Pehrson
7730265b27
[libpng15] Bump version to 1.5.24beta02
2015-08-19 12:54:33 -05:00
Glenn Randers-Pehrson
c357fb70b5
[lbipng15] 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:52:39 -05:00
Glenn Randers-Pehrson
a88dec67f2
[libpng15] Safely convert num_bytes to a png_byte in png_set_sig_bytes() (Robert
...
Seacord).
2015-08-18 10:23:35 -05:00
Glenn Randers-Pehrson
aa24431c93
[libpng15] Bump version to 1.5.24beta01
2015-07-23 20:20:39 -05:00
Glenn Randers-Pehrson
a058d6cee0
[libpng15] Imported from libpng-1.5.23.tar
2015-07-22 22:40:33 -05:00
Glenn Randers-Pehrson
91c2de79b9
[libpng15] Bump version to libpng-1.5.23rc03.tar
2015-07-13 08:30:27 -05:00
Glenn Randers-Pehrson
06bf45e527
[libpng15] Imported from libpng-1.5.23rc02.tar
2015-07-13 07:06:07 -05:00
Glenn Randers-Pehrson
ceaf50079a
[libpng15] Imported from libpng-1.5.23rc01.tar
2015-07-09 11:58:09 -05:00
Glenn Randers-Pehrson
5c88d90ce8
[libpng15] Bump version to 1.5.23beta03
2015-06-30 11:01:58 -05:00
Glenn Randers-Pehrson
57b246e736
[libpng15] Imported from libpng-1.5.23beta02.tar
2015-06-30 11:01:50 -05:00
Glenn Randers-Pehrson
8ed373b1fa
[libpng15] Removed WRITE_WEIGHTED_FILTERED code, to save a few kbytes of the
...
compiled library size. It never worked properly and as far as we can
tell, no one uses it. The png_set_filter_heuristics() and
png_set_filter_heuristics_fixed() APIs are retained but deprecated
and do nothing.
2015-06-01 21:08:14 -05:00
Glenn Randers-Pehrson
2cd7404743
[libpng15] Avoid a harmless potential integer overflow in png_XYZ_from_xy() (Bug
...
report from Christopher Ferris).
2015-05-21 15:20:52 -05:00
Glenn Randers-Pehrson
4925a28f6d
[libpng15] Bump version to 1.5.23beta01
2015-03-27 09:09:21 -05:00
Glenn Randers-Pehrson
4b1b9ce028
[libpng15] Imported from libpng-1.5.22.tar
2015-03-26 08:11:00 -05:00