From 6d49c66263efd4bb20ec905d9145a08d0c9d4346 Mon Sep 17 00:00:00 2001 From: Roy Keene Date: Wed, 2 Jan 2019 19:27:58 -0600 Subject: [PATCH] Fix too-small buffer in test (#1541) --- nano/core_test/uint256_union.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nano/core_test/uint256_union.cpp b/nano/core_test/uint256_union.cpp index 05ed50f9..5ddc498e 100644 --- a/nano/core_test/uint256_union.cpp +++ b/nano/core_test/uint256_union.cpp @@ -348,7 +348,7 @@ TEST (uint256_union, decode_account_variations) nano::uint256_union pub; xrb_key_account (key.data.bytes.data (), pub.bytes.data ()); - char account[65] = { 0 }; + char account[66] = { 0 }; xrb_uint256_to_address (pub.bytes.data (), account); // Replace first digit after xrb_ with '0'..'9', make sure only one of them is valid