aboutsummaryrefslogtreecommitdiff
path: root/src/util/vector.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@protonmail.com>2019-10-10 13:25:08 +0200
committerWladimir J. van der Laan <laanwj@protonmail.com>2019-10-15 10:53:17 +0200
commitd7820a1250070f3640246ae497e049bee0b3516f (patch)
tree266d939618fc74196736a9a3e2a9ccb538cc4a4f /src/util/vector.h
parentd882f635898fe036ef7be6b30bac31d29ec03ae3 (diff)
downloadbitcoin-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