Project

General

Profile

Bug #12488

Backport r55410 (reject too large precision in date_strftime.c)

Added by nagachika (Tomoyuki Chikanaga) about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
[ruby-dev:49665]

Description

Backport 管理用チケットです。
r55410 の DateTime#strftime の精度の修正のソースの該当部分は 2.1 以降同じなので Backport 対象と思われます。

Associated revisions

Revision 38e722f7
Added by nagachika (Tomoyuki Chikanaga) about 3 years ago

merge revision(s) 55410: [Backport #12488]

    * 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>.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_3@55910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 55910
Added by nagachika (Tomoyuki Chikanaga) about 3 years ago

merge revision(s) 55410: [Backport #12488]

* 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>.

Revision 673a8b48
Added by usa (Usaku NAKAMURA) about 3 years ago

merge revision(s) 55410: [Backport #12488]

    * 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>.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_2@55940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 55940
Added by usa (Usaku NAKAMURA) about 3 years ago

merge revision(s) 55410: [Backport #12488]

* 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>.

History

Updated by nagachika (Tomoyuki Chikanaga) about 3 years ago

  • Backport changed from 2.1: REQUIRED, 2.2: REQUIRED, 2.3: REQUIRED to 2.1: REQUIRED, 2.2: REQUIRED, 2.3: DONE

ruby_2_3 r55910 merged revision(s) 55410.

Updated by usa (Usaku NAKAMURA) about 3 years ago

  • Backport changed from 2.1: REQUIRED, 2.2: REQUIRED, 2.3: DONE to 2.1: REQUIRED, 2.2: DONE, 2.3: DONE

ruby_2_2 r55940 merged revision(s) 55410.

Also available in: Atom PDF