From b3cb8b5424def316cac96f4827ef1692acb0adad Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 24 May 2018 03:26:58 +0200 Subject: Fix read outside buffer --- src/Signature.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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() { -- cgit v1.2.3