libpng/pngusr.dfa
Glenn Randers-Pehrson 10c0693210 [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.
2012-02-23 18:41:13 -06:00

17 lines
538 B
Plaintext

# pngusr.dfa
#
# Build time configuration of libpng
#
# Enter build configuration options in this file
#
# Security settings: by default these limits are unset, you can change them
# here by entering the appropriate values as #defines preceded by '@' (to cause
# them to be passed through to the build of pnglibconf.h)
@#ifdef PNG_SECURE
@ /* Relatively secure values */
@# define PNG_USER_WIDTH_MAX 1000000
@# define PNG_USER_HEIGHT_MAX 1000000
@# define PNG_USER_CHUNK_CACHE_MAX 128
@# define PNG_USER_CHUNK_MALLOC_MAX 8000000
@#endif