]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/flowbits: fix stack overflow in analyzer
authorAntti Tönkyrä <daedalus@pingtimeout.net>
Fri, 26 Jun 2020 10:37:45 +0000 (10:37 +0000)
committerVictor Julien <victor@inliniac.net>
Mon, 6 Jul 2020 09:43:49 +0000 (11:43 +0200)
commit57d0f4bb6fc35f0dee486c224cacac884e2f89f0
treec8a456acd15fac46cf0ecebffbeceb582d5d3296
parentc09235e327eed02eb22d990c017c40316cd246f8
detect/flowbits: fix stack overflow in analyzer

Fix stack overflow in DetectFlowbitsAnalyze.

Use dynamically allocated array instead of stack and free
it after it is no longer needed.
src/detect-engine-build.c
src/detect-flowbits.c
src/detect.h