We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38840c5 commit a9c4dbaCopy full SHA for a9c4dba
1 file changed
src/detect-pcre.h
@@ -37,8 +37,13 @@
37
38
#define DETECT_PCRE_CAPTURE_MAX 8
39
40
+#ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
41
+#define SC_MATCH_LIMIT_DEFAULT 350
42
+#define SC_MATCH_LIMIT_RECURSION_DEFAULT 150
43
+#else
44
#define SC_MATCH_LIMIT_DEFAULT 3500
45
#define SC_MATCH_LIMIT_RECURSION_DEFAULT 1500
46
+#endif
47
48
typedef struct DetectPcreData_ {
49
/* pcre options */
0 commit comments