summaryrefslogtreecommitdiff
path: root/src/pcre2_error.c
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2017-03-21 17:46:21 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2017-03-21 17:46:21 +0000
commit85f8f579ac7aa268290ed7bd3aca90d927a9b7e9 (patch)
treee12bf9535013587078d91ae2cb1a3e65908565ad /src/pcre2_error.c
parent553386053601c027b72440f2bb000f8711046fa5 (diff)
downloadpcre2-85f8f579ac7aa268290ed7bd3aca90d927a9b7e9.tar.gz
Fix 32-bit error buffer size bug in pcre2test (Bugzilla 2079).
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@696 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'src/pcre2_error.c')
-rw-r--r--src/pcre2_error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcre2_error.c b/src/pcre2_error.c
index 9eab4fc..e25c7e6 100644
--- a/src/pcre2_error.c
+++ b/src/pcre2_error.c
@@ -271,7 +271,7 @@ distinct.
Arguments:
enumber error number
buffer where to put the message (zero terminated)
- size size of the buffer
+ size size of the buffer in code units
Returns: length of message if all is well
negative on error