MINOR: cli: remove non-printable characters from 'debug dev fd'
authorWilliam Lallemand <wlallemand@haproxy.com>
Thu, 24 Oct 2024 14:31:56 +0000 (16:31 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 24 Oct 2024 14:58:20 +0000 (16:58 +0200)
commitcdb7dac9821fc1ded2d4c706142bc4132140d3d2
tree2f65795b67a9d1d019a3c23cf8c518d8b1d2f5b4
parentf215ad3221cd347cf25c82ab67a73b4beb159f24
MINOR: cli: remove non-printable characters from 'debug dev fd'

When using 'debug dev fd', the output of laddr and raddr can contain
some garbage.

This patch replaces any control or non-printable character by a '.'.

(cherry picked from commit 944a224358ab2865a3a1c0bf700aba38550b19cc)
Signed-off-by: Willy Tarreau <w@1wt.eu>
src/debug.c