[ruby-cvs:69509] nobu:r62328 (trunk): sprintf.c: overflow check

nobu at ruby-lang.org nobu at ruby-lang.org
Fri Feb 9 12:15:20 JST 2018


nobu	2018-02-09 12:15:20 +0900 (Fri, 09 Feb 2018)

  New Revision: 62328

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

  Log:
    sprintf.c: overflow check
    
    * sprintf.c (ruby_do_vsnprintf): pathologically, get rid of
      negative value when the result length exceeds INT_MAX.

  Modified files:
    trunk/sprintf.c


More information about the ruby-cvs mailing list