util: Don't allow Base32/64-decoding or ParseMoney(…) on strings with embedded NUL characters. Add tests.
Summary:
Don't allow Base32/64-decoding or ParseMoney(…) on strings with embedded NUL characters. Add tests.
Backport of core PR17753.
Depends on D8154.
Test Plan:
ninja all check-all
Reviewers: #bitcoin_abc, deadalnix
Reviewed By: #bitcoin_abc, deadalnix
Differential Revision: https://reviews.bitcoinabc.org/D8155