diff options
author | William A. Rowe Jr <wrowe@apache.org> | 2001-09-28 17:15:12 +0000 |
---|---|---|
committer | William A. Rowe Jr <wrowe@apache.org> | 2001-09-28 17:15:12 +0000 |
commit | 54071db1776675754cc1a03d3012dee2bf684648 (patch) | |
tree | acfd2369479dedd6550b6d7564c91119a71498d8 /srclib | |
parent | 81687514711371ac85fd8e238788379dd696d085 (diff) | |
download | httpd-54071db1776675754cc1a03d3012dee2bf684648.tar.gz |
This broken bit causes a segfault after locking pconf as read-only.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91181 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'srclib')
-rw-r--r-- | srclib/pcre/pcreposix.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/srclib/pcre/pcreposix.c b/srclib/pcre/pcreposix.c index c6edb7dbec..e48d93e4c6 100644 --- a/srclib/pcre/pcreposix.c +++ b/srclib/pcre/pcreposix.c @@ -231,7 +231,12 @@ int *ovector = NULL; if ((eflags & REG_NOTBOL) != 0) options |= PCRE_NOTBOL; if ((eflags & REG_NOTEOL) != 0) options |= PCRE_NOTEOL; +#if 0 +/* This causes a memory segfault after locking the const, thread-shared *preg + * generated at compile time, and is entirely unnecessary. + */ preg->re_erroffset = (size_t)(-1); /* Only has meaning after compile */ +#endif if (nmatch > 0) { |