Skip to content

Commit fa7bc9b

Browse files
author
MarcoFalke
committed
fuzz: Fix wallet_bdb_parser 32-bit unhandled fseek error
1 parent ac4ea78 commit fa7bc9b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/wallet/test/fuzz/wallet_bdb_parser.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) 2023 The Bitcoin Core developers
1+
// Copyright (c) 2023-present The Bitcoin Core developers
22
// Distributed under the MIT software license, see the accompanying
33
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44

@@ -63,6 +63,7 @@ FUZZ_TARGET(wallet_bdb_parser, .init = initialize_wallet_bdb_parser)
6363
#endif
6464
if (error.original.starts_with("AutoFile::ignore: end of file") ||
6565
error.original.starts_with("AutoFile::read: end of file") ||
66+
error.original.starts_with("AutoFile::seek: ") ||
6667
error.original == "Not a BDB file" ||
6768
error.original == "Unexpected page type, should be 9 (BTree Metadata)" ||
6869
error.original == "Unexpected database flags, should only be 0x20 (subdatabases)" ||

0 commit comments

Comments
 (0)