This avoids the case where you read the address data, before noticing it is the wrong network.
Fix: CAddrMan: verify pchMessageStart file marker, before reading address data #1916
pull jgarzik wants to merge 1 commits into bitcoin:master from jgarzik:caddrdb-bug changing 1 files +7 −5-
jgarzik commented at 5:45 PM on October 8, 2012: contributor
-
bd2e140571
CAddrMan: verify pchMessageStart file marker, before reading address data
This avoids the case where you read the address data, before noticing it is the wrong network.
-
BitcoinPullTester commented at 3:22 AM on October 20, 2012: none
Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/bd2e1405711f6ba81adadb6ea6206e916c29453b for binaries and test log.
-
sipa commented at 9:55 PM on October 20, 2012: member
ACK
- gmaxwell referenced this in commit 67e2c8a40a on Oct 20, 2012
- gmaxwell merged this on Oct 20, 2012
- gmaxwell closed this on Oct 20, 2012
- laudney referenced this in commit 56018ac953 on Mar 19, 2014
- jgarzik deleted the branch on Aug 24, 2014
- KolbyML referenced this in commit 92035f80fe on Dec 5, 2020
- KolbyML referenced this in commit 98c6183d72 on Dec 5, 2020
- KolbyML referenced this in commit 6d8525169f on Dec 5, 2020
- DrahtBot locked this on Sep 8, 2021
Contributors