diff options
author | Lee *!* Clagett <code@leeclagett.com> | 2024-02-06 12:47:47 -0500 |
---|---|---|
committer | Lee *!* Clagett <code@leeclagett.com> | 2024-02-06 12:47:47 -0500 |
commit | ed50938af4987dc4caee0cdf6bfe363adb44bd5d (patch) | |
tree | d92962675931ddee19f26b541ebdfc36d3e438a3 | |
parent | Merge pull request #9050 (diff) | |
download | monero-ed50938af4987dc4caee0cdf6bfe363adb44bd5d.tar.xz |
Zero initialize rctSigBase elements
-rw-r--r-- | src/ringct/rctTypes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ringct/rctTypes.h b/src/ringct/rctTypes.h index 585d5fb49..c168c8571 100644 --- a/src/ringct/rctTypes.h +++ b/src/ringct/rctTypes.h @@ -325,6 +325,10 @@ namespace rct { ctkeyV outPk; xmr_amount txnFee; // contains b + rctSigBase() : + type(RCTTypeNull), message{}, mixRing{}, pseudoOuts{}, ecdhInfo{}, outPk{}, txnFee(0) + {} + template<bool W, template <bool> class Archive> bool serialize_rctsig_base(Archive<W> &ar, size_t inputs, size_t outputs) { |