mirror of https://github.com/OISF/suricata
output: fix logic error
The logical error may have been made here. Comparison with the upper bound of the variable type does not make sense. It may be worth adding the cast of one of the multiplication operands to the 64-bit type for avoiding overflow. Found by Security Code with Svace static analyzer Bug: #5789 Signed-off-by: Maxim Korotkov <m.korotkov@securitycode.ru>pull/8677/head
parent
39a6f411e9
commit
1c055dc370
Loading…
Reference in New Issue