]> git.ipfire.org Git - thirdparty/suricata.git/commit
test: do not output non ascii character 8444/head
authorPhilippe Antoine <pantoine@oisf.net>
Thu, 15 Sep 2022 13:26:46 +0000 (15:26 +0200)
committerVictor Julien <vjulien@oisf.net>
Wed, 25 Jan 2023 11:32:06 +0000 (12:32 +0100)
commitb281199e9aa1d2d66ac35d1f53358afca8c44a13
tree5e28944133e6bd2f96648b96ec80c5210bc547e3
parent7a47eabf8258a2869c25e18b5538a6d90765589a
test: do not output non ascii character

The unit test for content |aa bz| transforms in place the string
str to replace the 2 characters aa by one character 0xaa
Then, when z is not recognized as a valid hexadeicmal character,
the whole modified string is printed out, inclusing the non-ascii
0xaa

Ticket: #5558
src/detect-content.c