aboutsummaryrefslogtreecommitdiff
path: root/test/fuzzcheck.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2020-03-19 17:27:52 +0000
committerdrh <drh@noemail.net>2020-03-19 17:27:52 +0000
commitf0a2172d1d2004ac1ac358c63cf4b464fea10bf6 (patch)
tree683420f2a2a26317f2abe35727190feb36aa53a0 /test/fuzzcheck.c
parent91a23dc2999ebbdd8041f41a11dc81c63484f39a (diff)
downloadsqlite-f0a2172d1d2004ac1ac358c63cf4b464fea10bf6.tar.gz
sqlite-f0a2172d1d2004ac1ac358c63cf4b464fea10bf6.zip
Fix an integer overflow problem with the dbstat virtual table that comes up
when trying to analyze a corrupt database. FossilOrigin-Name: 1d64f4a8af81fe1235fffa54884d8f842a48ff6a33d6172f0cd65bf42fe8b2a1
Diffstat (limited to 'test/fuzzcheck.c')
-rw-r--r--test/fuzzcheck.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/fuzzcheck.c b/test/fuzzcheck.c
index 378502436..992b225d3 100644
--- a/test/fuzzcheck.c
+++ b/test/fuzzcheck.c
@@ -94,11 +94,9 @@
# include <unistd.h>
#endif
-#ifdef SQLITE_OSS_FUZZ
-# include <stddef.h>
-# if !defined(_MSC_VER)
-# include <stdint.h>
-# endif
+#include <stddef.h>
+#if !defined(_MSC_VER)
+# include <stdint.h>
#endif
#if defined(_MSC_VER)