[ruby-cvs:55147] akr:r47997 (trunk): * Avoid undefined behaviors found by gcc -fsanitize=undefined.

akr at ruby-lang.org akr at ruby-lang.org
Fri Oct 17 18:49:29 JST 2014


akr	2014-10-17 18:49:28 +0900 (Fri, 17 Oct 2014)

  New Revision: 47997

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

  Log:
    * Avoid undefined behaviors found by gcc -fsanitize=undefined.
      gcc (Debian 4.9.1-16) 4.9.1
    
    * string.c (rb_str_sum): Avoid undefined behavior.

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


More information about the ruby-cvs mailing list