]> git.ipfire.org Git - thirdparty/suricata.git/commit
rust: fix build with MSRV 10679/head
authorPhilippe Antoine <pantoine@oisf.net>
Wed, 20 Mar 2024 08:56:34 +0000 (09:56 +0100)
committerVictor Julien <victor@inliniac.net>
Wed, 20 Mar 2024 16:13:17 +0000 (17:13 +0100)
commitc2202b152e678fca3be450643932b852d7fe5896
tree3ff8001755d573bf963046847c55c572d232170d
parenta4d3e9b1a113f0472221d342ff4a6714816012d7
rust: fix build with MSRV

Ticket: 6876

Do not backport try_string_from_bytes as it uses try_reserve
And just use string_from_bytes instead

Fixes: b9963b3e2919 ("ssh: limit length for banner logs")
rust/src/jsonbuilder.rs