From 14b890313732c681c76c4ea13fd291954b779956 Mon Sep 17 00:00:00 2001 From: ksaito Date: Mon, 5 Apr 2004 10:38:01 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r6093, which included commits to RCS files with non-trunk default branches. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- regexec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'regexec.c') diff --git a/regexec.c b/regexec.c index 2ded602e15..870a6535bd 100644 --- a/regexec.c +++ b/regexec.c @@ -1463,6 +1463,7 @@ match_at(regex_t* reg, UChar* str, UChar* end, UChar* sstart, int mb_len = enc_len(encode, *s); if (s + mb_len > end) { + DATA_ENSURE(1); s = end; p += tlen; goto cc_mb_not_success; -- cgit v1.2.3