mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
pnglibconf.dfa, that can be reset by the user at build time or run time. This provides a more robust defense against DOS and as-yet undiscovered overflows.
16 lines
541 B
Plaintext
16 lines
541 B
Plaintext
# pngusr.dfa
|
|
#
|
|
# Build time configuration of libpng
|
|
#
|
|
# Enter build configuration options in this file
|
|
#
|
|
# Security settings: these limits have default values that are set in
|
|
# scripts/pnglibconf.dfa; 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), for example:
|
|
#
|
|
# @# define PNG_USER_WIDTH_MAX 1000000
|
|
# @# define PNG_USER_HEIGHT_MAX 1000000
|
|
# @# define PNG_USER_CHUNK_CACHE_MAX 256
|
|
# @# define PNG_USER_CHUNK_MALLOC_MAX 4000000
|