diff options
author | Sébastien Marie <semarie@users.noreply.github.com> | 2015-06-23 12:03:53 +0200 |
---|---|---|
committer | Sébastien Marie <semarie@users.noreply.github.com> | 2015-06-23 12:03:53 +0200 |
commit | 3873b23c53de31074d294d127077e691662150c2 (patch) | |
tree | e4192f889da259811fad4e4ab1a92620f1954116 /httpd/patterns.h | |
parent | a6ac783e163ccffbcd2d28627497a7bb31a9dd3b (diff) | |
download | httpd-3873b23c53de31074d294d127077e691662150c2.tar.gz httpd-3873b23c53de31074d294d127077e691662150c2.zip |
add a new control for repetitor items
- add a counter for limiting the search for repetitor items ('*', '+',
'-' and '?')
- add test case for this new kind of error
Diffstat (limited to 'httpd/patterns.h')
-rw-r--r-- | httpd/patterns.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/httpd/patterns.h b/httpd/patterns.h index ddda0dd..6db5991 100644 --- a/httpd/patterns.h +++ b/httpd/patterns.h @@ -24,6 +24,7 @@ #define MAXCAPTURES 32 /* Max no. of allowed captures in pattern */ #define MAXCCALLS 200 /* Max recusion depth in pattern matching */ +#define MAXREPETITION 0xfffff /* Max for repetition items */ struct str_find { off_t sm_so; /* start offset of match */ |