summaryrefslogtreecommitdiff
path: root/pcre_compile.c
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2015-12-05 16:58:46 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2015-12-05 16:58:46 +0000
commit40363ebc19baeab160abaaa55dc84322a89ac35a (patch)
treeab7b019b45ec6cd4c42c5d390b44f349bb309f64 /pcre_compile.c
parentdb1fb68feddc9afe6f8822d099fa9ff25e3ea8e7 (diff)
downloadpcre-40363ebc19baeab160abaaa55dc84322a89ac35a.tar.gz
Fix (by hacking) another length computation issue.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1619 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_compile.c')
-rw-r--r--pcre_compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcre_compile.c b/pcre_compile.c
index 57719b9..087bf2a 100644
--- a/pcre_compile.c
+++ b/pcre_compile.c
@@ -7280,7 +7280,7 @@ for (;; ptr++)
issue is fixed "properly" in PCRE2. As PCRE1 is now in maintenance
only mode, we finesse the bug by allowing more memory always. */
- *lengthptr += 2 + 2*LINK_SIZE;
+ *lengthptr += 4 + 4*LINK_SIZE;
/* It is even worse than that. The current reference may be to an
existing named group with a different number (so apparently not