HomePhabricator

fix wrong memcmp() usage in CKey::operator==
a39967401e0fUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

fix wrong memcmp() usage in CKey::operator==

  • add a check for CKey::size() of a and b (size can be 0 or 32)
  • change the fixed value in memcmp() to use a.size() instead
  • fixes #3090

Details

Provenance
Philip Kaufmann <phil.kaufmann@t-online.de>Authored on Oct 28 2013, 10:20
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGING377cd749308d: Merge pull request #3163 from sipa/allunspendable
Branches
Unknown
Tags
Unknown

Event Timeline

Philip Kaufmann <phil.kaufmann@t-online.de> committed rSTAGINGa39967401e0f: fix wrong memcmp() usage in CKey::operator== (authored by Philip Kaufmann <phil.kaufmann@t-online.de>).Oct 28 2013, 16:09