Actions
Bug #834
closedctf-text: ASCII control characters are not escaped when printing a string/text array
Start date:
09/10/2014
Due date:
% Done:
0%
Estimated time:
Description
ASCII control characters are not escaped when the ctf-text format prints strings or text arrays, leading to interesting results.
Simple steps to reproduce:
lttng create bug lttng enable-event -k lttng_logger lttng start echo -ne 'hello\nworld\x08\x08\x08man\x00true end' > /proc/lttng-logger lttng stop lttng view
Babeltrace shows:
[15:04:54.524520321] (+?.?????????) archeepp lttng_logger: { cpu_id = 0 }, { _msg_length = 25, msg = "hello woman" }
Updated by Jonathan Rajotte Julien almost 5 years ago
- Status changed from New to Invalid
State of babeltrace moved a lot since.
Closing this ticket as invalid. Reopen it if it stills apply to Babeltrace 2.
Actions