aboutsummaryrefslogtreecommitdiff
path: root/src/wallet
diff options
context:
space:
mode:
authorMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2024-06-19 13:46:52 +0200
committerMarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz>2024-06-19 13:39:43 +0200
commitfa7bc9bbca9348cf31b97bee0789ea7caeec635c (patch)
tree8bc0e55755a81a7c3f11d57cf0d7d5a71130bf73 /src/wallet
parentac4ea782af20720eea8ce67eb7fa00ce1e19e513 (diff)
downloadbitcoin-fa7bc9bbca9348cf31b97bee0789ea7caeec635c.tar.xz
fuzz: Fix wallet_bdb_parser 32-bit unhandled fseek error
Diffstat (limited to 'src/wallet')
-rw-r--r--src/wallet/test/fuzz/wallet_bdb_parser.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/test/fuzz/wallet_bdb_parser.cpp b/src/wallet/test/fuzz/wallet_bdb_parser.cpp
index 5216e09769..6fbd695fc5 100644
--- a/src/wallet/test/fuzz/wallet_bdb_parser.cpp
+++ b/src/wallet/test/fuzz/wallet_bdb_parser.cpp
@@ -1,4 +1,4 @@
-// Copyright (c) 2023 The Bitcoin Core developers
+// Copyright (c) 2023-present The Bitcoin Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
@@ -63,6 +63,7 @@ FUZZ_TARGET(wallet_bdb_parser, .init = initialize_wallet_bdb_parser)
#endif
if (error.original.starts_with("AutoFile::ignore: end of file") ||
error.original.starts_with("AutoFile::read: end of file") ||
+ error.original.starts_with("AutoFile::seek: ") ||
error.original == "Not a BDB file" ||
error.original == "Unexpected page type, should be 9 (BTree Metadata)" ||
error.original == "Unexpected database flags, should only be 0x20 (subdatabases)" ||