[ruby-cvs:66851] glass:r59673 (trunk): string.c: fix potential bug in String#split

glass at ruby-lang.org glass at ruby-lang.org
Mon Aug 28 19:55:37 JST 2017


glass	2017-08-28 19:55:37 +0900 (Mon, 28 Aug 2017)

  New Revision: 59673

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=59673

  Log:
    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.

  Modified files:
    trunk/string.c


More information about the ruby-cvs mailing list