summaryrefslogtreecommitdiff
path: root/ANNOUNCE
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@acm.org>2011-11-04 20:11:16 -0500
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2011-11-04 20:12:03 -0500
commit88bcdc269b920b81ef01185772d32a08ad10728f (patch)
treeba5db84605fbe7658ba2c8fb9c70339129f9e9a3 /ANNOUNCE
parentaad7c828b28c671df88d1b400410ac8774cabfbf (diff)
downloadlibpng-88bcdc269b920b81ef01185772d32a08ad10728f.tar.gz
[libpng] Check compression_type parameter in png_get_iCCP and remove spurious
casts. The compression_type parameter is always assigned to, so must be non-NULL. The cast of the profile length potentially truncated the value unnecessarily on a 16-bit int system, so the cast of the (byte) compression type to (int) is specified by ANSI-C anyway.
Diffstat (limited to 'ANNOUNCE')
-rw-r--r--ANNOUNCE9
1 files changed, 7 insertions, 2 deletions
diff --git a/ANNOUNCE b/ANNOUNCE
index 6d3f11d28..46b5786aa 100644
--- a/ANNOUNCE
+++ b/ANNOUNCE
@@ -1,5 +1,5 @@
-Libpng 1.5.7beta02 - November 4, 2011
+Libpng 1.5.7beta02 - November 5, 2011
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.
@@ -43,7 +43,12 @@ Version 1.5.7beta01 [November 4, 2011]
just the changes that definitely improve speed and remain simple.
The changes also slightly increase the clarity of the code.
-Version 1.5.7beta02 [November 4, 2011]
+Version 1.5.7beta02 [November 5, 2011]
+ Check compression_type parameter in png_get_iCCP and remove spurious
+ casts. The compression_type parameter is always assigned to, so must
+ be non-NULL. The cast of the profile length potentially truncated the
+ value unnecessarily on a 16-bit int system, so the cast of the (byte)
+ compression type to (int) is specified by ANSI-C anyway.
Send comments/corrections/commendations to png-mng-implement at lists.sf.net:
(subscription required; visit