Project

General

Profile

« Previous | Next » 

Revision 10e28726

Added by ngoto (Naohisa Goto) almost 8 years ago

  • string.c (rb_str_subseq, str_substr): When RSTRING_EMBED_LEN_MAX
    is used, TERM_LEN(str) should be considered with it because
    embedded strings are also processed by TERM_FILL.
    Additional fix for [Bug #12536] [ruby-dev:49699].

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