aboutsummaryrefslogtreecommitdiff
path: root/src/device/device_ledger.hpp
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-07-03 13:52:40 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-08-26 12:50:29 +0000
commitf07524b56b6e1c2302317c1c24c40eec26384089 (patch)
tree83f43c47473bf5e5a7f7ee15766c553f75f632a5 /src/device/device_ledger.hpp
parentdevice_ledger: add paranoid buffer overflow check (diff)
downloadmonero-f07524b56b6e1c2302317c1c24c40eec26384089.tar.xz
device_ledger: fix uninitialized additional_key
Coverity 200185
Diffstat (limited to '')
-rw-r--r--src/device/device_ledger.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/device_ledger.hpp b/src/device/device_ledger.hpp
index fe9028733..986087128 100644
--- a/src/device/device_ledger.hpp
+++ b/src/device/device_ledger.hpp
@@ -76,7 +76,7 @@ namespace hw {
rct::key AKout;
ABPkeys(const rct::key& A, const rct::key& B, const bool is_subaddr, bool is_subaddress, bool is_change_address, size_t index, const rct::key& P,const rct::key& AK);
ABPkeys(const ABPkeys& keys) ;
- ABPkeys() {index=0;is_subaddress=false;is_subaddress=false;is_change_address=false;}
+ ABPkeys() {index=0;is_subaddress=false;is_change_address=false;additional_key=false;}
ABPkeys &operator=(const ABPkeys &keys);
};