diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-05-24 03:26:58 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-08-18 23:25:46 +0200 |
commit | b3cb8b5424def316cac96f4827ef1692acb0adad (patch) | |
tree | e296f348e048a76d722d3238d5f6c0de7cf4005c | |
parent | 122c1a66fb15f019914dfe9521a19a8f6a64ca1f (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() { |