Project

General

Profile

« Previous | Next » 

Revision b3c70d4c

Added by Glass_saga (Masaki Matsushita) almost 8 years ago

string.c: fix potential bug in String#split

  • string.c (rb_str_split_m): fix potential bug when rb_memsearch()
    matches a octet in the middle of a multi-byte character sequence.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e