summaryrefslogtreecommitdiff
path: root/pcretest.c
diff options
context:
space:
mode:
authorph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2013-05-15 16:53:18 +0000
committerph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15>2013-05-15 16:53:18 +0000
commitf4176cfb682170c5e9246949df653c82200d7259 (patch)
treebb115c95ba86b61060a9b5c4ce3c61ae520a47c0 /pcretest.c
parent90d0919728241dfa99cb8aad641d12a11cb2bfeb (diff)
downloadpcre-f4176cfb682170c5e9246949df653c82200d7259.tar.gz
Fix segfault when pcre_dfa_exec() is called with an output vector of length
less than 2. git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1334 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcretest.c')
-rw-r--r--pcretest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcretest.c b/pcretest.c
index 25f3853..20dc0f1 100644
--- a/pcretest.c
+++ b/pcretest.c
@@ -5043,7 +5043,7 @@ while (!done)
DFA_WS_DIMENSION);
if (count == 0)
{
- fprintf(outfile, "Matched, but too many subsidiary matches\n");
+ fprintf(outfile, "Matched, but offsets vector is too small to show all matches\n");
count = use_size_offsets/2;
}
}