diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-07-03 13:52:40 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-08-26 12:50:29 +0000 |
commit | f07524b56b6e1c2302317c1c24c40eec26384089 (patch) | |
tree | 83f43c47473bf5e5a7f7ee15766c553f75f632a5 /src/device/device_ledger.hpp | |
parent | device_ledger: add paranoid buffer overflow check (diff) | |
download | monero-f07524b56b6e1c2302317c1c24c40eec26384089.tar.xz |
device_ledger: fix uninitialized additional_key
Coverity 200185
Diffstat (limited to '')
-rw-r--r-- | src/device/device_ledger.hpp | 2 |
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); }; |