[ruby-cvs:68160] nobu:r60979 (trunk): string.c: fix rb_external_str_new_with_enc

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Dec 2 16:09:17 JST 2017


nobu	2017-12-02 16:09:16 +0900 (Sat, 02 Dec 2017)

  New Revision: 60979

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

  Log:
    string.c: fix rb_external_str_new_with_enc
    
    * string.c (rb_external_str_new_with_enc): do not search non-ascii
      by NULL pointer.  [ruby-core:84055] [Bug #14150]

  Added files:
    trunk/ext/-test-/string/new.c
    trunk/test/-ext-/string/test_external_new.rb
  Modified files:
    trunk/string.c


More information about the ruby-cvs mailing list