diff options
author | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2007-08-15 15:21:04 +0000 |
---|---|---|
committer | ph10 <ph10@2f5784b3-3f2a-0410-8824-cb99058d5e15> | 2007-08-15 15:21:04 +0000 |
commit | 27e2fc2b033925cf4fdf8df71a51692cd8e9a054 (patch) | |
tree | 4e33baaebd44f828be275548a7469507fa73ab52 /pcre_printint.src | |
parent | 59ed24336d7ecae34af0672453371f3ef77ad2e3 (diff) | |
download | pcre-27e2fc2b033925cf4fdf8df71a51692cd8e9a054.tar.gz |
Crash in debug output when printing the name of a Unicode property.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@217 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_printint.src')
-rw-r--r-- | pcre_printint.src | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pcre_printint.src b/pcre_printint.src index 79299f7..90381ed 100644 --- a/pcre_printint.src +++ b/pcre_printint.src @@ -122,7 +122,7 @@ get_ucpname(int ptype, int pvalue) { #ifdef SUPPORT_UCP int i; -for (i = _pcre_utt_size; i >= 0; i--) +for (i = _pcre_utt_size - 1; i >= 0; i--) { if (ptype == _pcre_utt[i].type && pvalue == _pcre_utt[i].value) break; } |