diff options
author | Koichi Sasada <ko1@atdot.net> | 2020-12-10 13:27:08 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2020-12-10 18:27:44 +0900 |
commit | 72f1c43584df714a011864ca9fafc6e15ace392c (patch) | |
tree | 250ed361e404e63467530a225e9e6acee5fa4232 /lib/rubygems/server.rb | |
parent | 7856da5fe75a76bec909778e411270c10a04ca3a (diff) | |
download | ruby-72f1c43584df714a011864ca9fafc6e15ace392c.tar.gz |
ObjectSpace._id2ref should not support unshareable
ObjectSpace._id2ref(id) can return any objects even if they are
unshareable, so this patch raises RangeError if it runs on multi-ractor
mode and the found object is unshareable.
Diffstat (limited to 'lib/rubygems/server.rb')
0 files changed, 0 insertions, 0 deletions