]> git.ipfire.org Git - people/ms/suricata.git/commit
smtp: null terminate before calling strtoul
authorPhilippe Antoine <contact@catenacyber.fr>
Thu, 22 Apr 2021 08:28:15 +0000 (10:28 +0200)
committerVictor Julien <victor@inliniac.net>
Tue, 15 Jun 2021 09:29:07 +0000 (11:29 +0200)
commit33fa7ab5969d3fc5ca088c003bd4dbfe76d77b6b
treeb9f12aa1acbe07eb5ad00bba6e31ebb1c2ac6768
parent4d2f9cc8a0409bb03f5d285bb83d64afec08ba2a
smtp: null terminate before calling strtoul

by copying in a temporary buffer
as is done in ByteExtractString
src/app-layer-smtp.c