]> git.ipfire.org Git - thirdparty/suricata.git/commit
flow/manager: fix prealloc unhandled division by 0 8624/head
authorJuliana Fajardini <jufajardini@oisf.net>
Mon, 20 Mar 2023 14:56:58 +0000 (11:56 -0300)
committerVictor Julien <vjulien@oisf.net>
Fri, 24 Mar 2023 05:28:55 +0000 (06:28 +0100)
commit5baa6c0024c7e49eb28e84546c286a5fd50fe303
tree712c0e5d2cb5c57498b876697f755a5e42f8580d
parent4f7426fdcf3ec4cab1e1a9da862f3de342b0d85c
flow/manager: fix prealloc unhandled division by 0

If flow.prealloc was set to zero in our yaml config, this led to
a floating point exception in the flow manager.

Bug: #5919.
src/flow-manager.c