aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@protonmail.com>2019-10-10 13:25:08 +0200
committerfanquake <fanquake@gmail.com>2019-10-19 13:58:18 -0400
commitdc0fe7ae1f941a2aafc29a0c7b7068e160583ef4 (patch)
treeef0c138ae32acc2ac1d95c6761c074fc96ed0df4 /doc
parentba46f394182dc2ac85ea7e0a7b6141312180de73 (diff)
downloadbitcoin-dc0fe7ae1f941a2aafc29a0c7b7068e160583ef4.tar.xz
util: Filter control characters out of log messages
Belts and suspenders: make sure outgoing log messages don't contain potentially suspicious characters, such as terminal control codes. This escapes control characters except newline ('\n') in C syntax. It escapes instead of removes them to still allow for troubleshooting issues where they accidentally end up in strings. Github-Pull: #17095 Rebased-From: d7820a1250070f3640246ae497e049bee0b3516f
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions