[libpng16] Added PNG_SECURE feature to pnglibconf.dfa and new pngusr.dfa file

to reset the user limits to safe ones if PNG_SECURE is defined.
This commit is contained in:
Glenn Randers-Pehrson
2012-02-23 18:41:13 -06:00
parent 17ba5de88f
commit 10c0693210
6 changed files with 34 additions and 13 deletions

View File

@@ -3,7 +3,7 @@
/* pnglibconf.h - library build configuration */
/* Libpng 1.6.0beta13 - February 19, 2012 */
/* Libpng 1.6.0beta13 - February 24, 2012 */
/* Copyright (c) 1998-2012 Glenn Randers-Pehrson */
@@ -33,8 +33,8 @@
#define PNG_sCAL_PRECISION 5
#define PNG_USER_CHUNK_CACHE_MAX 0
#define PNG_USER_CHUNK_MALLOC_MAX 0
#define PNG_USER_HEIGHT_MAX 1000000
#define PNG_USER_WIDTH_MAX 1000000
#define PNG_USER_HEIGHT_MAX 0x7fffffff
#define PNG_USER_WIDTH_MAX 0x7fffffff
#define PNG_WEIGHT_SHIFT 8
#define PNG_ZBUF_SIZE 8192
/* end of settings */