From 440c4ca7c4278f107057bea30b5fa8ebfcb4881c Mon Sep 17 00:00:00 2001 From: Sean Darcy Date: Fri, 16 Apr 2021 10:05:46 +1000 Subject: [PATCH] initialise mapping_value --- src/cryptonote_core/oxen_name_system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cryptonote_core/oxen_name_system.cpp b/src/cryptonote_core/oxen_name_system.cpp index 2706a093a..fdece51a5 100644 --- a/src/cryptonote_core/oxen_name_system.cpp +++ b/src/cryptonote_core/oxen_name_system.cpp @@ -1036,7 +1036,7 @@ mapping_value::mapping_value(std::string encrypted_value, std::string nonce): bu encrypted = true; } -mapping_value::mapping_value(){} +mapping_value::mapping_value() : buffer{0},encrypted(false),len(0){} std::string name_hash_bytes_to_base64(std::string_view bytes) {