mirror of https://github.com/google/oss-fuzz.git
[sqlite3] Add SQLITE_PRINTF_PRECISION_LIMIT=128000000 to prevent more OOMs.
This commit is contained in:
parent
2912d6fb06
commit
16c72bf84b
|
@ -23,7 +23,8 @@ cd bld
|
|||
export ASAN_OPTIONS=detect_leaks=0
|
||||
# Limit max length of data blobs and sql queries to prevent irrelevant OOMs.
|
||||
export CFLAGS="$CFLAGS -DSQLITE_MAX_LENGTH=128000000 \
|
||||
-DSQLITE_MAX_SQL_LENGTH=128000000"
|
||||
-DSQLITE_MAX_SQL_LENGTH=128000000 \
|
||||
-DSQLITE_PRINTF_PRECISION_LIMIT=128000000"
|
||||
../configure
|
||||
make -j$(nproc)
|
||||
make sqlite3.c
|
||||
|
|
Loading…
Reference in New Issue