mirror of
https://github.com/sqlite/sqlite.git
synced 2025-12-24 14:17:58 +03:00
Add the --native-malloc option to fuzzcheck. Fix ossfuzz.c and fuzzcheck.c
so that they both deallocate the temp_store_directory before closing. FossilOrigin-Name: 0dd18ec882bb28a87629d6d8dfeb5ea5d82833634b3781a7d14b917272c4dfa0
This commit is contained in:
@@ -145,6 +145,7 @@ int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) {
|
||||
/* Cleanup and return */
|
||||
sqlite3_free(zErrMsg);
|
||||
sqlite3_free(zSql);
|
||||
sqlite3_exec(cx.db, "PRAGMA temp_store_directory=''", 0, 0, 0);
|
||||
sqlite3_close(cx.db);
|
||||
|
||||
if( mDebug & FUZZ_SHOW_MAX_DELAY ){
|
||||
|
||||
Reference in New Issue
Block a user