[ruby-cvs:64274] nobu:r57108 (trunk): sprintf.c: fix width underflow

nobu at ruby-lang.org nobu at ruby-lang.org
Sun Dec 18 03:04:30 JST 2016


nobu	2016-12-18 03:04:30 +0900 (Sun, 18 Dec 2016)

  New Revision: 57108

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

  Log:
    sprintf.c: fix width underflow
    
    * sprintf.c (rb_str_format): fix memory corruption by width
      underflow.  https://github.com/mruby/mruby/issues/3347

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


More information about the ruby-cvs mailing list