]> git.ipfire.org Git - thirdparty/suricata.git/commit
profiling: Correct profiling data array size
authorJeff Lucovsky <jlucovsky@oisf.net>
Wed, 16 Oct 2024 14:37:20 +0000 (10:37 -0400)
committerVictor Julien <victor@inliniac.net>
Sat, 26 Oct 2024 08:32:24 +0000 (10:32 +0200)
commit4015b3ec5daab7ca266b5f2282450931d56e4170
tree4cfb0f613e681ca1f3deb8fc85ea5d5d650d9fd5
parent490931c166aa979385d06c7f0ae444e6ed6905d8
profiling: Correct profiling data array size

The profiling arrays are incorrectly sized by the number of thread
modules. Since they contain app-layer protocol data, they should be
sized by ALPROTO_MAX.

(cherry picked from commit 799822c3db46648edadae570404d74f6ec42efdd)
src/util-profiling.c