Merge pull request #9156

052df1b Zero initialize rctSigBase elements (Lee *!* Clagett)
This commit is contained in:
luigi1111 2024-02-24 10:08:33 -05:00
commit 13ed9d501b
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -325,6 +325,10 @@ namespace rct {
ctkeyV outPk; ctkeyV outPk;
xmr_amount txnFee; // contains b xmr_amount txnFee; // contains b
rctSigBase() :
type(RCTTypeNull), message{}, mixRing{}, pseudoOuts{}, ecdhInfo{}, outPk{}, txnFee(0)
{}
template<bool W, template <bool> class Archive> template<bool W, template <bool> class Archive>
bool serialize_rctsig_base(Archive<W> &ar, size_t inputs, size_t outputs) bool serialize_rctsig_base(Archive<W> &ar, size_t inputs, size_t outputs)
{ {