[ruby-cvs:62576] nobu:r55412 (trunk): strftime.c: limit result size

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


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

  New Revision: 55412

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

  Log:
    strftime.c: limit result size
    
    * strftime.c (rb_strftime_with_timespec): limit the result string
      size by the format length, to get rid of unlimited memory use.

  Modified files:
    trunk/ChangeLog
    trunk/strftime.c


More information about the ruby-cvs mailing list