diff options
author | John Bowler <jbowler@acm.org> | 2011-11-04 20:11:16 -0500 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2011-11-04 20:12:03 -0500 |
commit | 88bcdc269b920b81ef01185772d32a08ad10728f (patch) | |
tree | ba5db84605fbe7658ba2c8fb9c70339129f9e9a3 /ANNOUNCE | |
parent | aad7c828b28c671df88d1b400410ac8774cabfbf (diff) | |
download | libpng-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-- | ANNOUNCE | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 |