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
  1. jgarzik commented at 5:45 PM on October 8, 2012: contributor

    This avoids the case where you read the address data, before noticing it is the wrong network.

  2. 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.
    bd2e140571
  3. 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.

  4. sipa commented at 9:55 PM on October 20, 2012: member

    ACK

  5. gmaxwell referenced this in commit 67e2c8a40a on Oct 20, 2012
  6. gmaxwell merged this on Oct 20, 2012
  7. gmaxwell closed this on Oct 20, 2012

  8. laudney referenced this in commit 56018ac953 on Mar 19, 2014
  9. jgarzik deleted the branch on Aug 24, 2014
  10. KolbyML referenced this in commit 92035f80fe on Dec 5, 2020
  11. KolbyML referenced this in commit 98c6183d72 on Dec 5, 2020
  12. KolbyML referenced this in commit 6d8525169f on Dec 5, 2020
  13. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-20 00:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me