diff --git a/ANNOUNCE b/ANNOUNCE index 05d40a2f4..9d6eecff9 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -1,5 +1,5 @@ -Libpng 1.5.10beta01 - February 23, 2012 +Libpng 1.5.10beta01 - February 24, 2012 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. @@ -26,7 +26,7 @@ Other information: Changes since the last public release (1.5.9): -Version 1.5.10beta01 [February 23, 2012] +Version 1.5.10beta01 [February 24, 2012] Removed two useless #ifdef directives from pngread.c and one from pngrutil.c Always put the CMAKE_LIBRARY in "lib" (removed special WIN32 case). Removed empty vstudio/pngstest directory (Clifford Yapp). @@ -37,6 +37,8 @@ Version 1.5.10beta01 [February 23, 2012] Fixed bug with png_handle_hIST with odd chunk length (Frank Busse). Added PNG_SAFE_LIMITS feature to pnglibconf.dfa and code in pngconf.h to reset the user limits to safe ones if PNG_SAFE_LIMITS is defined. + To enable, use PNG_COPTS=-DPNG_SAFE_LIMITS on the configure command + or put #define PNG_SAFE_LIMITS_SUPPORTED in pnglibconf.h. Send comments/corrections/commendations to png-mng-implement at lists.sf.net: (subscription required; visit diff --git a/CHANGES b/CHANGES index 0b764c89e..b76961c1d 100644 --- a/CHANGES +++ b/CHANGES @@ -3811,7 +3811,7 @@ Version 1.5.9rc01 [February 17, 2012] Version 1.5.9 [February 18, 2012] No changes. -Version 1.5.10beta01 [February 23, 2012] +Version 1.5.10beta01 [February 24, 2012] Removed two useless #ifdef directives from pngread.c and one from pngrutil.c Always put the CMAKE_LIBRARY in "lib" (removed special WIN32 case). Removed empty vstudio/pngstest directory (Clifford Yapp). @@ -3822,6 +3822,8 @@ Version 1.5.10beta01 [February 23, 2012] Fixed bug with png_handle_hIST with odd chunk length (Frank Busse). Added PNG_SAFE_LIMITS feature to pnglibconf.dfa and code in pngconf.h to reset the user limits to safe ones if PNG_SAFE_LIMITS is defined. + To enable, use PNG_COPTS=-DPNG_SAFE_LIMITS on the configure command + or put #define PNG_SAFE_LIMITS_SUPPORTED in pnglibconf.h. Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/scripts/pnglibconf.dfa b/scripts/pnglibconf.dfa index 3e146684a..862ff2042 100644 --- a/scripts/pnglibconf.dfa +++ b/scripts/pnglibconf.dfa @@ -261,7 +261,7 @@ option USER_LIMITS option SET_USER_LIMITS requires USER_LIMITS # Added at libpng-1.5.10 -option SAFE_LIMITS requires USER_LIMITS +option SAFE_LIMITS enables USER_LIMITS # Feature added at libpng-1.4.0, this flag added at 1.4.1 option SET_USER_LIMITS enables SET_CHUNK_CACHE_LIMIT