aboutsummaryrefslogtreecommitdiff
path: root/depends
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2021-07-15 13:04:26 +0200
committerVasil Dimov <vd@FreeBSD.org>2021-07-15 13:40:29 +0200
commit816f29eab296ebec2da8f8606ad618609e3ba228 (patch)
treea7d1cbbcb2d0367cda46bccefaf38e76ffe0882f /depends
parent97153a702600430bdaf6af4f6f4eb8593e32819f (diff)
addrman: detect on-disk corrupted nNew and nTried during unserialization
Negative `nNew` or `nTried` are not possible during normal operation. So, if we read such values during unserialize, report addrman corruption. Fixes https://github.com/bitcoin/bitcoin/issues/22450
Diffstat (limited to 'depends')
0 files changed, 0 insertions, 0 deletions