10c0693210
to reset the user limits to safe ones if PNG_SECURE is defined.
17 lines
538 B
Plaintext
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
|