Backport #9621

backport r45308 (Check fptr before trying to dump FILE object fd)

Added by Tomoyuki Chikanaga 12 months ago. Updated 9 months ago.

[ruby-dev:48033]
Status:Closed
Priority:Normal
Assignee:Yui NARUSE

Description

Associated revisions

Revision 46403
Added by Tomoyuki Chikanaga 9 months ago

merge revision(s) r45308,r45316: [Backport #9621]

* ext/objspace/objspace_dump.c: Check fptr before trying to dump RFILE
  object fd. [GH-562]

* test/objspace/test_objspace.rb: add test

* test/objspace/test_objspace.rb (TestObjSpace#test_dump_uninitialized_file):
  remove dependency on json library.

History

#1 Updated by Tomoyuki Chikanaga 9 months ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Applied in changeset r46403.


merge revision(s) r45308,r45316: [Backport #9621]

* ext/objspace/objspace_dump.c: Check fptr before trying to dump RFILE
  object fd. [GH-562]

* test/objspace/test_objspace.rb: add test

* test/objspace/test_objspace.rb (TestObjSpace#test_dump_uninitialized_file):
  remove dependency on json library.

Also available in: Atom PDF