summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorGisle Aas <gisle@aas.no>2000-02-25 01:24:53 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2000-02-24 23:46:27 +0000
commit806e72015c0c16d1c66452a28aa8fd6c6cc967c3 (patch)
treef8078ff397986a4bceadb65b4ccf79e69d2e9c8e /regexec.c
parent8d220878d77900dc1beb088892237bda615b1719 (diff)
downloadperl-806e72015c0c16d1c66452a28aa8fd6c6cc967c3.tar.gz
More UTF8_MAXLEN fixes
To: perl5-porters@perl.org Message-ID: <m3ema2tc8q.fsf@eik.g.aas.no> p4raw-id: //depot/cfgperl@5247
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regexec.c b/regexec.c
index bddf8201c2..c65624b216 100644
--- a/regexec.c
+++ b/regexec.c
@@ -3610,7 +3610,7 @@ S_reginclassutf8(pTHX_ regnode *f, U8 *p)
match = TRUE;
else if (flags & ANYOF_FOLD) {
I32 cf;
- U8 tmpbuf[10];
+ U8 tmpbuf[UTF8_MAXLEN];
if (flags & ANYOF_LOCALE) {
PL_reg_flags |= RF_tainted;
uv_to_utf8(tmpbuf, toLOWER_LC_utf8(p));