Fix for incorrect locking in GetPubKey() (keystore.cpp) #7913

pull rodentrabies wants to merge 1 commits into bitcoin:master from rodentrabies:getpubkey-locking-fix changing 1 files +1 −0
  1. rodentrabies commented at 9:06 PM on April 19, 2016: contributor

    Fix for issue #7901

  2. in src/keystore.cpp:None in 767486a639 outdated
      18 | @@ -19,6 +19,7 @@ bool CBasicKeyStore::GetPubKey(const CKeyID &address, CPubKey &vchPubKeyOut) con
      19 |  {
      20 |      CKey key;
      21 |      if (!GetKey(address, key)) {
      22 | +	LOCK(cs_KeyStore);
    


    sipa commented at 8:33 AM on April 20, 2016:

    Nit: indendation error

  3. sipa commented at 8:33 AM on April 20, 2016: member

    utACK, but fix the indendation

  4. rodentrabies commented at 8:42 AM on April 20, 2016: contributor

    Oh, yes, sorry. I thought I had no-tabs mode for C++ in Emacs.

  5. laanwj added the label Wallet on Apr 20, 2016
  6. MarcoFalke commented at 10:19 AM on April 20, 2016: member

    @yurizhykin Mind to squash the commits?

  7. jonasschnelli commented at 11:35 AM on April 20, 2016: contributor

    utACK (but please squash commits)

  8. Fix for incorrect locking in GetPubKey() (keystore.cpp) 220f950ab1
  9. rodentrabies force-pushed on Apr 20, 2016
  10. rodentrabies commented at 1:08 PM on April 20, 2016: contributor

    Yep, squashed.

  11. jonasschnelli commented at 1:37 PM on April 20, 2016: contributor

    ACK 220f950ab1302f8f8c0bb5b9c818f3d6569796bd

  12. dcousens commented at 4:12 AM on April 21, 2016: contributor

    utACK 220f950

  13. sipa merged this on Apr 21, 2016
  14. sipa closed this on Apr 21, 2016

  15. sipa referenced this in commit bafd075c5e on Apr 21, 2016
  16. rodentrabies deleted the branch on May 30, 2016
  17. LarryRuane referenced this in commit e715e1393b on Feb 20, 2021
  18. zkbot referenced this in commit d95a957841 on Apr 1, 2021
  19. zkbot referenced this in commit 2d3b58c993 on Apr 1, 2021
  20. MarcoFalke 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-14 21:15 UTC

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