[ruby-cvs:61466] nobu:r54304 (trunk): sprintf.c: fix buffer overflow

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Mar 28 08:18:52 JST 2016


nobu	2016-03-28 08:18:52 +0900 (Mon, 28 Mar 2016)

  New Revision: 54304

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

  Log:
    sprintf.c: fix buffer overflow
    
    * sprintf.c (rb_str_format): fix buffer overflow, length must be
      greater than precision.  reported by William Bowling <will AT
      wbowling.info>.

  Modified files:
    trunk/ChangeLog
    trunk/sprintf.c
    trunk/test/ruby/test_sprintf.rb


More information about the ruby-cvs mailing list