[ruby-cvs:55929] nobu:r48779 (trunk): string.c: check arguments for crypt

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Dec 12 10:49:21 JST 2014


nobu	2014-12-12 10:49:20 +0900 (Fri, 12 Dec 2014)

  New Revision: 48779

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

  Log:
    string.c: check arguments for crypt
    
    * string.c (rb_str_crypt): check arguments more strictly.
      * crypt() is not for wide char strings
      * salt bytes should not be NUL

  Modified files:
    trunk/ChangeLog
    trunk/string.c
    trunk/test/ruby/test_string.rb


More information about the ruby-cvs mailing list