[sqlite3] Add SQLITE_PRINTF_PRECISION_LIMIT=128000000 to prevent more OOMs.

This commit is contained in:
Max Moroz 2016-11-15 12:21:22 +01:00
parent 2912d6fb06
commit 16c72bf84b
1 changed files with 2 additions and 1 deletions

View File

@ -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