X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=regcomp.c;h=8046c76056890111c4b5a93c5cb37ee6f8fb07d2;hb=f63f8e2fd0961bccc25f9a9f7fffef07b3c2a65a;hp=a3106dc4454178b8d5824747a107564951724881;hpb=e476b1b5c29f354cf8dad61a9fc6d855bdfb5b7d;p=p5sagit%2Fp5-mst-13.2.git diff --git a/regcomp.c b/regcomp.c index a3106dc..8046c76 100644 --- a/regcomp.c +++ b/regcomp.c @@ -3646,7 +3646,7 @@ S_reguni(pTHX_ UV uv, char* s, I32* lenp) { dTHR; if (SIZE_ONLY) { - U8 tmpbuf[10]; + U8 tmpbuf[UTF8_MAXLEN]; *lenp = uv_to_utf8(tmpbuf, uv) - tmpbuf; } else