mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
5acb4437c7
commit
14b8903137
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue