[ruby-cvs:57606] glass:r50458 (trunk): * string.c (rb_str_crypt): Raise ArgumentError when

glass at ruby-lang.org glass at ruby-lang.org
Sun May 10 11:49:02 JST 2015


glass	2015-05-10 11:49:01 +0900 (Sun, 10 May 2015)

  New Revision: 50458

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

  Log:
    * string.c (rb_str_crypt): Raise ArgumentError when
      string passed to String#crypt contains null.
      the patch is from jrusnack <jrusnack at redhat.com>.
      [Bug #10988] [fix GH-853]
    
    * test/ruby/test_string.rb: test for above.

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


More information about the ruby-cvs mailing list