]> git.ipfire.org Git - thirdparty/suricata.git/commit
smb: fix broken stream depth setting 6395/head
authorShivani Bhardwaj <shivanib134@gmail.com>
Tue, 7 Sep 2021 12:01:04 +0000 (17:31 +0530)
committerVictor Julien <victor@inliniac.net>
Tue, 21 Sep 2021 05:21:04 +0000 (07:21 +0200)
commit42da0fb5c5c35b723e601d3636582155a9a5028a
tree7721ed0cd49cc94dd073702180aee0326be2dee7
parent0cfe512ef01038e9a088b1cafa17d57bd4331e75
smb: fix broken stream depth setting

The stream depth setting was broken since it was moved to Rust because
of a missing parser for memory values in configuration.
Use get_memval fn from conf.rs to calculate and fetch the correct
values.
rust/src/smb/smb.rs