[ruby-cvs:50086] nagachika:r42944 (ruby_2_0_0): merge revision(s) 42908, 42918: [Backport #8864]

nagachika at ruby-lang.org nagachika at ruby-lang.org
Sun Sep 15 22:51:29 JST 2013


nagachika	2013-09-15 22:51:27 +0900 (Sun, 15 Sep 2013)

  New Revision: 42944

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

  Log:
    merge revision(s) 42908,42918: [Backport #8864]
    
    test_sprintf_comb.rb: split tests
    
    * test/ruby/test_sprintf_comb.rb (test_format_integer),
      (test_format_float): split huge tests by the formats.
    * vsnprintf.c (MAXEXP, MAXFRACT): calculate depending on constants in
      float.h.
    
    * vsnprintf.c (BSD_vfprintf): limit length for cvt() to get rid of
      buffer overflow.  [ruby-core:57023] [Bug #8864]
    
    * vsnprintf.c (exponent): make expbuf size more precise.

  Modified directories:
    branches/ruby_2_0_0/
  Modified files:
    branches/ruby_2_0_0/ChangeLog
    branches/ruby_2_0_0/test/ruby/test_sprintf_comb.rb
    branches/ruby_2_0_0/version.h
    branches/ruby_2_0_0/vsnprintf.c


More information about the ruby-cvs mailing list