Negative `nNew` or `nTried` are not possible during normal operation. So, if we read such values during unserialize, report addrman corruption.
Backport of core#22455.
Differential D12276
addrman: detect on-disk corrupted nNew and nTried during unserialization Fabien on Oct 17 2022, 14:42. Authored by Tags None Subscribers None
Details
Negative `nNew` or `nTried` are not possible during normal operation. So, if we read such values during unserialize, report addrman corruption. Backport of core#22455. ninja all check-all
Diff Detail
|