diff options
author | dec05eba <0xdec05eba@gmail.com> | 2018-05-24 03:26:58 +0200 |
---|---|---|
committer | dec05eba <0xdec05eba@gmail.com> | 2018-05-24 03:27:01 +0200 |
commit | 0ce0eaf93dea198a6b0f812c724be9bad74270b2 (patch) | |
tree | a6a29698b8adef11af88919e924ded2582d694ef | |
parent | a40317826882c6d5f91298541fa3a51a49a9c697 (diff) |
Fix read outside buffer
-rw-r--r-- | src/Signature.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Signature.cpp b/src/Signature.cpp index 3d75f24..05f8970 100644 --- a/src/Signature.cpp +++ b/src/Signature.cpp @@ -74,7 +74,7 @@ namespace odhtdb return bin2hex(data, PUBLIC_KEY_NUM_BYTES); } - const PrivateKey PrivateKey::ZERO("\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", PRIVATE_KEY_NUM_BYTES); + const PrivateKey PrivateKey::ZERO("\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", PRIVATE_KEY_NUM_BYTES); PrivateKey::PrivateKey() { |