aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-05-24 03:26:58 +0200
committerdec05eba <dec05eba@protonmail.com>2020-08-18 23:25:46 +0200
commitb3cb8b5424def316cac96f4827ef1692acb0adad (patch)
treee296f348e048a76d722d3238d5f6c0de7cf4005c /src
parent122c1a66fb15f019914dfe9521a19a8f6a64ca1f (diff)
Fix read outside buffer
Diffstat (limited to 'src')
-rw-r--r--src/Signature.cpp2
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()
{