aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2023-12-06 17:00:30 +0000
committerfanquake <fanquake@gmail.com>2023-12-06 17:16:17 +0000
commit2e8ec6b338a825a7155fff1be83993e3834ab655 (patch)
tree4f980a35ed81e785dadc66666d479a09ad5913d3 /src/interfaces
parentc46cc8d3c1a6250d56b68abb184db344565eff34 (diff)
parentfad1903b8a85506378101c1f857ba47b4a058fb4 (diff)
Merge bitcoin/bitcoin#29012: fuzz: Avoid timeout in bitdeque
fad1903b8a85506378101c1f857ba47b4a058fb4 fuzz: Avoid timeout in bitdeque (MarcoFalke) Pull request description: Avoid timeouts such as https://github.com/bitcoin/bitcoin/issues/28812#issuecomment-1842914664 This is done by: * Limiting the maximum number of iterations if the maximum size of the container is "large" (see the magic numbers in the code). * Check the equality only once. This should be fine, because if a crash were to happen in the equality check, but the crash doesn't happen if further iterations were run, the fuzz engine should eventually find the crash by truncating the fuzz input. ACKs for top commit: sipa: utACK fad1903b8a85506378101c1f857ba47b4a058fb4 dergoegge: utACK fad1903b8a85506378101c1f857ba47b4a058fb4 brunoerg: crACK fad1903b8a85506378101c1f857ba47b4a058fb4 Tree-SHA512: d3d83acb3e736b8fcaf5d17ce225ac82a9f9a2efea048512d2fed594ba6c76c25bae72eb0fab3276d4db37baec0752e5367cecfb18161301b921fed09693045e
Diffstat (limited to 'src/interfaces')
0 files changed, 0 insertions, 0 deletions