Avoid triggering undefined behaviour (std::memset(nullptr, 0, 0)) if an invalid string is passed to DecodeSecret(...).
Backport of Bitcoin Core PR14242
https://github.com/bitcoin/bitcoin/pull/14242
Differential D4017
Avoid triggering undefined behaviour (std::memset(nullptr, 0, 0)) if an invalid string is passed to DecodeSecret(...) fpelliccioni on Sep 6 2019, 16:35. Authored by Tags None Subscribers None
Details Avoid triggering undefined behaviour (std::memset(nullptr, 0, 0)) if an invalid string is passed to DecodeSecret(...). Backport of Bitcoin Core PR14242 make check
Diff Detail
Event Timeline |