From 0fcf6f01e7a81647ca34b540540e0905d6042899 Mon Sep 17 00:00:00 2001 From: drh <> Date: Mon, 24 May 2021 12:28:13 +0000 Subject: [PATCH] Minor comment improvements in fuzzcheck.c. FossilOrigin-Name: 7aca8d52c16c2192d9c1ff03a976c482a60365cef8d2474b540ff4c84e8737b4 --- manifest | 12 ++++++------ manifest.uuid | 2 +- test/fuzzcheck.c | 16 ++++++++-------- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/manifest b/manifest index 25408f3f86..193d38f167 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C New\sdbsqlfuzz\scases\sadded\sto\stest/fuzzdata8.db. -D 2021-05-24T12:13:10.905 +C Minor\scomment\simprovements\sin\sfuzzcheck.c. +D 2021-05-24T12:28:13.639 F .fossil-settings/empty-dirs dbb81e8fc0401ac46a1491ab34a7f2c7c0452f2f06b54ebb845d024ca8283ef1 F .fossil-settings/ignore-glob 35175cdfcf539b2318cb04a9901442804be81cd677d8b889fcc9149c21f239ea F LICENSE.md df5091916dbb40e6e9686186587125e1b2ff51f022cc334e886c19a0e9982724 @@ -1047,7 +1047,7 @@ F test/fuzz3.test 9c813e6613b837cb7a277b0383cd66bfa07042b4cf0317157c35852f30043c F test/fuzz4.test c229bcdb45518a89e1d208a21343e061503460ac69fae1539320a89f572eb634 F test/fuzz_common.tcl b7197de6ed1ee8250a4f82d67876f4561b42ee8cbbfc6160dcb66331bad3f830 F test/fuzz_malloc.test f348276e732e814802e39f042b1f6da6362a610af73a528d8f76898fde6b22f2 -F test/fuzzcheck.c c51cdb34e926d0a6551624aa1f04c456c29317b5457855d64391917d9b4c2aff +F test/fuzzcheck.c 37f09efcd982048694d8b06fa3ef817df17f2a82e90af85cb3fb8eddd0f57ec4 F test/fuzzdata1.db d36e88741b4f23bcbaaf55b006290669d03c6c891cf13c7b3a53bc1b097b693f F test/fuzzdata2.db 128b3feeb78918d075c9b14b48610145a0dd4c8d6f1ca7c2870c7e425f5bf31f F test/fuzzdata3.db c6586d3e3cef0fbc18108f9bb649aa77bfc38aba @@ -1914,7 +1914,7 @@ F vsixtest/vsixtest.tcl 6a9a6ab600c25a91a7acc6293828957a386a8a93 F vsixtest/vsixtest.vcxproj.data 2ed517e100c66dc455b492e1a33350c1b20fbcdc F vsixtest/vsixtest.vcxproj.filters 37e51ffedcdb064aad6ff33b6148725226cd608e F vsixtest/vsixtest_TemporaryKey.pfx e5b1b036facdb453873e7084e1cae9102ccc67a0 -P dd56fbe0cfb0f7848190ce097b378321dd25ae509c7edf93682b091014824fc6 -R 8dc3e7bfe0211a30e62fc14fd0ca86e9 +P 5bb5c9ec049488f95e47bbd9f1db9038ffabad3cfafa613acdaa790ab4034eee +R 8abf47bfcd09099416b7e0ebf8da1954 U drh -Z e786b23401afb7174d49afd764617506 +Z 7413c02b9058cd69a9060ec55f66578b diff --git a/manifest.uuid b/manifest.uuid index 2bd843c26b..810c065d19 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -5bb5c9ec049488f95e47bbd9f1db9038ffabad3cfafa613acdaa790ab4034eee \ No newline at end of file +7aca8d52c16c2192d9c1ff03a976c482a60365cef8d2474b540ff4c84e8737b4 \ No newline at end of file diff --git a/test/fuzzcheck.c b/test/fuzzcheck.c index 6ec2f8460c..3020086a24 100644 --- a/test/fuzzcheck.c +++ b/test/fuzzcheck.c @@ -63,7 +63,7 @@ ** of the global variable g.zTextName[] will identify the specific XSQL and ** DB values that were running when the crash occurred. ** -** DBSQLFUZZ: +** DBSQLFUZZ: (Added 2020-02-25) ** ** The dbsqlfuzz fuzzer includes both a database file and SQL to run against ** that database in its input. This utility can now process dbsqlfuzz @@ -108,10 +108,10 @@ typedef unsigned char uint8_t; */ typedef struct VFile VFile; struct VFile { - char *zFilename; /* Filename. NULL for delete-on-close. From malloc() */ - int sz; /* Size of the file in bytes */ - int nRef; /* Number of references to this file */ - unsigned char *a; /* Content of the file. From malloc() */ + char *zFilename; /* Filename. NULL for delete-on-close. From malloc() */ + int sz; /* Size of the file in bytes */ + int nRef; /* Number of references to this file */ + unsigned char *a; /* Content of the file. From malloc() */ }; typedef struct VHandle VHandle; struct VHandle { @@ -219,7 +219,7 @@ static int progressHandler(void *pVdbeLimitFlag){ #endif /* -** Reallocate memory. Show and error and quit if unable. +** Reallocate memory. Show an error and quit if unable. */ static void *safe_realloc(void *pOld, int szNew){ void *pNew = realloc(pOld, szNew<=0 ? 1 : szNew); @@ -617,8 +617,8 @@ static int isOffset( /* ** Decode the text starting at zIn into a binary database file. -** The maximum length of zIn is nIn bytes. Compute the binary database -** file contain in space obtained from sqlite3_malloc(). +** The maximum length of zIn is nIn bytes. Store the binary database +** file in space obtained from sqlite3_malloc(). ** ** Return the number of bytes of zIn consumed. Or return -1 if there ** is an error. One potential error is that the recipe specifies a