fuzz: use lower pcre limits

to avoid timeouts

instead of forbidding pcre signatures on stream

Ticket: 4858
(cherry picked from commit 7750226e43)
pull/14781/head
Philippe Antoine 1 year ago committed by Victor Julien
parent 38840c578e
commit a9c4dbaf90

@ -37,8 +37,13 @@
#define DETECT_PCRE_CAPTURE_MAX 8
#ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
#define SC_MATCH_LIMIT_DEFAULT 350
#define SC_MATCH_LIMIT_RECURSION_DEFAULT 150
#else
#define SC_MATCH_LIMIT_DEFAULT 3500
#define SC_MATCH_LIMIT_RECURSION_DEFAULT 1500
#endif
typedef struct DetectPcreData_ {
/* pcre options */

Loading…
Cancel
Save