[ruby-cvs:62574] nobu:r55410 (trunk): date_strftime.c: check precision

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Jun 14 22:07:27 JST 2016


nobu	2016-06-14 22:07:27 +0900 (Tue, 14 Jun 2016)

  New Revision: 55410

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

  Log:
    date_strftime.c: check precision
    
    * ext/date/date_strftime.c (date_strftime_with_tmx): reject too
      large precision to get rid of buffer overflow.
      reported by Guido Vranken <guido AT guidovranken.nl>.

  Modified files:
    trunk/ChangeLog
    trunk/ext/date/date_strftime.c
    trunk/test/date/test_date_strftime.rb


More information about the ruby-cvs mailing list