From f9def06160fed660c99f964ade1cfe17dd902612 Mon Sep 17 00:00:00 2001 From: drh Date: Fri, 22 May 2015 23:45:56 +0000 Subject: [PATCH] Fix a bug in fuzzershell caused by an uninitialized local variable. FossilOrigin-Name: 745deab87adc378a5376aaa9451fb9485bc2f4c4 --- manifest | 12 ++++++------ manifest.uuid | 2 +- tool/fuzzershell.c | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/manifest b/manifest index c7cda0512f..4d0c1f61ad 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Fix\sanother\sbad\sassert()\sin\sbtree\s-\sone\sthat\scan\sbe\sfalse\son\sa\scorrupt\sdatabase\nfile. -D 2015-05-22T23:39:29.128 +C Fix\sa\sbug\sin\sfuzzershell\scaused\sby\san\suninitialized\slocal\svariable. +D 2015-05-22T23:45:56.266 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f F Makefile.in 0a6ae26396ec696221021780dffbb894ff3cead7 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23 @@ -1230,7 +1230,7 @@ F tool/diffdb.c 7524b1b5df217c20cd0431f6789851a4e0cb191b F tool/extract.c 054069d81b095fbdc189a6f5d4466e40380505e2 F tool/fast_vacuum.c 5ba0d6f5963a0a63bdc42840f678bad75b2ebce1 F tool/fragck.tcl 5265a95126abcf6ab357f7efa544787e5963f439 -F tool/fuzzershell.c e35a3e0918349f2a9e0498c17c6fe5a6c7d61d86 +F tool/fuzzershell.c 0b49a78e93feee0596f692c766cdff14186ae36c F tool/genfkey.README cf68fddd4643bbe3ff8e31b8b6d8b0a1b85e20f4 F tool/genfkey.test 4196a8928b78f51d54ef58e99e99401ab2f0a7e5 F tool/getlock.c f4c39b651370156cae979501a7b156bdba50e7ce @@ -1278,7 +1278,7 @@ F tool/vdbe_profile.tcl 67746953071a9f8f2f668b73fe899074e2c6d8c1 F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4 F tool/warnings.sh 0abfd78ceb09b7f7c27c688c8e3fe93268a13b32 F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f -P 10cc44f5a63e6cadf6940bb7310a177ee7fa6ee2 -R 12583c8a4670388a5d60502757678b98 +P 89f0bbfde4d86a7b15e93aab9c487b4355c6fb2d +R 65016f3b238dc9d4aaf76f46b4ac610e U drh -Z f1e1ea5567a0f5557363801842b88558 +Z 79f3d7dfd072e74dd2fd5db7858a213f diff --git a/manifest.uuid b/manifest.uuid index 850b0dbfaf..3a72298708 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -89f0bbfde4d86a7b15e93aab9c487b4355c6fb2d \ No newline at end of file +745deab87adc378a5376aaa9451fb9485bc2f4c4 \ No newline at end of file diff --git a/tool/fuzzershell.c b/tool/fuzzershell.c index 6890c0be1e..c026cf370d 100644 --- a/tool/fuzzershell.c +++ b/tool/fuzzershell.c @@ -454,7 +454,7 @@ int main(int argc, char **argv){ int jj; /* Loop counter for azInFile[] */ sqlite3_int64 iBegin; /* Start time for the whole program */ sqlite3_int64 iStart, iEnd; /* Start and end-times for a test case */ - const char *zDbName; /* Name of an on-disk database file to open */ + const char *zDbName = 0; /* Name of an on-disk database file to open */ iBegin = timeOfDay(); zFailCode = getenv("TEST_FAILURE");