summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorksaito <ksaito@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-05 10:38:01 +0000
committerksaito <ksaito@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-04-05 10:38:01 +0000
commit14b890313732c681c76c4ea13fd291954b779956 (patch)
tree9d4a71b20e9e802c0f6b23973ce76d847fe515d6 /regexec.c
parent5acb4437c780b452619424944dc6697dce7db2ec (diff)
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
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c1
1 files changed, 1 insertions, 0 deletions
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;