[ruby-cvs:70083] nobu:r62989 (trunk): dir.c: check NUL bytes

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Mar 28 18:58:52 JST 2018


nobu	2018-03-28 18:58:52 +0900 (Wed, 28 Mar 2018)

  New Revision: 62989

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

  Log:
    dir.c: check NUL bytes
    
    * dir.c (GlobPathValue): should be used in rb_push_glob only.
      other methods should use FilePathValue.
      https://hackerone.com/reports/302338
    
    * dir.c (rb_push_glob): expand GlobPathValue

  Modified files:
    trunk/dir.c
    trunk/test/ruby/test_dir.rb


More information about the ruby-cvs mailing list