Project

General

Profile

« Previous | Next » 

Revision d7444332

Added by nobu (Nobuyoshi Nakada) almost 12 years ago

rb_str_new_frozen: new object if tainted/untrusted unmatch

  • string.c (rb_str_new_frozen): since the result object should have
    same tainted/untrusted bits with the original object, return new
    object if the shared object unmatch. [ruby-core:39745][Bug #5374]

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