[ruby-cvs:67396] nobu:r60215 (trunk): ruby.c: reject NUL in $0

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Oct 19 20:24:03 JST 2017


nobu	2017-10-19 20:24:03 +0900 (Thu, 19 Oct 2017)

  New Revision: 60215

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

  Log:
    ruby.c: reject NUL in $0
    
    * ruby.c (ruby_setproctitle): raise if the argument contains NUL
      char.  process title is a NUL-terminated string.
      [ruby-core:82425] [Bug #13829]

  Modified files:
    trunk/ruby.c
    trunk/test/ruby/test_rubyoptions.rb


More information about the ruby-cvs mailing list