HomePhabricator

tests: Avoid using C-style NUL-terminated strings as arguments

Description

tests: Avoid using C-style NUL-terminated strings as arguments

Summary:
This is a backport of Core PR17754 [3/3]
https://github.com/bitcoin/bitcoin/pull/17754/commits/7a046cdc1423963bdcbcf9bb98560af61fa90b37

Depends on D8685

Test Plan: ninja && ninja check

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D8686

Details

Provenance
practicalswift <practicalswift@users.noreply.github.com>Authored on Dec 17 2020, 16:39
PiRKCommitted on Dec 17 2020, 16:40
abc-botPushed on Dec 17 2020, 16:46
Reviewer
Restricted Project
Differential Revision
D8686: tests: Avoid using C-style NUL-terminated strings as arguments
Parents
rABCfe17052580c6: net: Add tests for failure on string parameters with embedded NUL characters
Branches
Unknown
Tags
Unknown