summaryrefslogtreecommitdiff
path: root/include/ap_expr.h
diff options
context:
space:
mode:
authorNick Kew <niq@apache.org>2009-07-18 23:12:58 +0000
committerNick Kew <niq@apache.org>2009-07-18 23:12:58 +0000
commit9cd5afd69253006fa6c8919b3e9e813cf78691ec (patch)
tree856a7e36fbe098a8311f0dc8cc2f50db58fc3a39 /include/ap_expr.h
parent1dcb7a36d2d7806c5c41985e0b59d31a2d81175d (diff)
downloadhttpd-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/ap_expr.h')
-rw-r--r--include/ap_expr.h1
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*);