Escape all line/record separators (and ESC) in the final formatted log record so attacker-controlled CR/LF can’t forge or break downstream logs.
Escape all line/record separators (and ESC) in the final formatted log record so attacker-controlled CR/LF can’t forge or break downstream logs.