diff options
author | Wladimir J. van der Laan <laanwj@protonmail.com> | 2019-10-10 13:25:08 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@protonmail.com> | 2019-10-15 10:53:17 +0200 |
commit | d7820a1250070f3640246ae497e049bee0b3516f (patch) | |
tree | 266d939618fc74196736a9a3e2a9ccb538cc4a4f /src/util/vector.h | |
parent | d882f635898fe036ef7be6b30bac31d29ec03ae3 (diff) | |
download | bitcoin-d7820a1250070f3640246ae497e049bee0b3516f.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.
Diffstat (limited to 'src/util/vector.h')
0 files changed, 0 insertions, 0 deletions