diff options
author | Nick Kew <niq@apache.org> | 2009-07-18 23:12:58 +0000 |
---|---|---|
committer | Nick Kew <niq@apache.org> | 2009-07-18 23:12:58 +0000 |
commit | 9cd5afd69253006fa6c8919b3e9e813cf78691ec (patch) | |
tree | 856a7e36fbe098a8311f0dc8cc2f50db58fc3a39 /include | |
parent | 1dcb7a36d2d7806c5c41985e0b59d31a2d81175d (diff) | |
download | httpd-9cd5afd69253006fa6c8919b3e9e813cf78691ec.tar.gz |
Fix mod_include potential segfault checking backref from unmatched regexp
http://markmail.org/message/jlc7t5edsjujbe37
Patch by rpluem, lars, niq
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@795445 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include')
-rw-r--r-- | include/ap_expr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ap_expr.h b/include/ap_expr.h index 2763ee23d7..2f27f0fe45 100644 --- a/include/ap_expr.h +++ b/include/ap_expr.h @@ -73,6 +73,7 @@ typedef struct { const char *rexp; apr_size_t nsub; ap_regmatch_t match[AP_MAX_REG_MATCH]; + int have_match; } backref_t; typedef const char *(*string_func_t)(request_rec*, const char*); |