Project

General

Profile

Bug #12188

Backport r54105 and r54136 (fix Marshal.load violation for invalid dump format)

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

Status:
Closed
Priority:
Normal
Target version:
-
[ruby-core:74422]

Description

This is a ticket for backport management (as memorandum for stable maintainers). The original issues were already fixed on trunk.
r54105 and r54136 fixes [BUG] of Marshal.load with invalid dump format strings.

Associated revisions

Revision 477c282a
Added by usa (Usaku NAKAMURA) over 3 years ago

merge revision(s) 54105,54108,54136,54138: [Backport #12188]

    * marshal.c (r_object0): Fix Marshal crash for corrupt extended object.

    * marshal.c (r_object0):  raise ArgumentError when linking to undefined
      object.

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

Revision 54274
Added by usa (Usaku NAKAMURA) over 3 years ago

merge revision(s) 54105,54108,54136,54138: [Backport #12188]

* marshal.c (r_object0): Fix Marshal crash for corrupt extended object.

* marshal.c (r_object0):  raise ArgumentError when linking to undefined
  object.

Revision af8c7c60
Added by nagachika (Tomoyuki Chikanaga) over 3 years ago

merge revision(s) 54105,54108,54136,54138: [Backport #12188]

    * marshal.c (r_object0): Fix Marshal crash for corrupt extended object.

    * marshal.c (r_object0):  raise ArgumentError when linking to undefined
      object.

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

Revision 54333
Added by nagachika (Tomoyuki Chikanaga) over 3 years ago

merge revision(s) 54105,54108,54136,54138: [Backport #12188]

* marshal.c (r_object0): Fix Marshal crash for corrupt extended object.

* marshal.c (r_object0):  raise ArgumentError when linking to undefined
  object.

Revision 46e7e1f9
Added by naruse (Yui NARUSE) over 3 years ago

merge revision(s) 54105,54108,54136,54138: [Backport #12188]

    * marshal.c (r_object0): Fix Marshal crash for corrupt extended object.

    * marshal.c (r_object0):  raise ArgumentError when linking to undefined
      object.

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

Revision 54380
Added by naruse (Yui NARUSE) over 3 years ago

merge revision(s) 54105,54108,54136,54138: [Backport #12188]

* marshal.c (r_object0): Fix Marshal crash for corrupt extended object.

* marshal.c (r_object0):  raise ArgumentError when linking to undefined
  object.

History

Updated by usa (Usaku NAKAMURA) over 3 years ago

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

ruby_2_1 r54274 merged revision(s) 54105,54108,54136,54138.

Updated by nagachika (Tomoyuki Chikanaga) over 3 years ago

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

Backported into ruby_2_2 branch at r54333.

Updated by naruse (Yui NARUSE) over 3 years ago

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

ruby_2_3 r54380 merged revision(s) 54105,54108,54136,54138.

Also available in: Atom PDF