diff options
author | 2017-01-02 11:10:31 +0100 | |
---|---|---|
committer | 2017-01-02 11:10:31 +0100 | |
commit | b7105de7f17e1de1cf0abfd9d6d33dedee8e6e3e (patch) | |
tree | 6e27cc5a51c3f25714d0ad746cdc256e134b5fab /projects/sqlite3 | |
parent | d7a8ba21d77086bfc3812c706d81711756489f55 (diff) |
[sqlite3] Increase SQLITE_MAX_PAGE_COUNT to 16384.
Diffstat (limited to 'projects/sqlite3')
-rwxr-xr-x | projects/sqlite3/build.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/projects/sqlite3/build.sh b/projects/sqlite3/build.sh index 7fa3a5fb..acd7f36c 100755 --- a/projects/sqlite3/build.sh +++ b/projects/sqlite3/build.sh @@ -19,12 +19,13 @@ mkdir bld cd bld export ASAN_OPTIONS=detect_leaks=0 + # Limit max length of data blobs and sql queries to prevent irrelevant OOMs. # Also limit max memory page count to avoid creating large databases. export CFLAGS="$CFLAGS -DSQLITE_MAX_LENGTH=128000000 \ -DSQLITE_MAX_SQL_LENGTH=128000000 \ -DSQLITE_PRINTF_PRECISION_LIMIT=128000000 \ - -DSQLITE_MAX_PAGE_COUNT=8092" + -DSQLITE_MAX_PAGE_COUNT=16384" ../configure make -j$(nproc) make sqlite3.c @@ -37,4 +38,3 @@ $CXX $CXXFLAGS \ -lFuzzingEngine ./sqlite3.o cp $SRC/*.options $SRC/*.dict $SRC/*.zip $OUT/ - |