1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext
John Hawthorn 05b1944c53 objspace: Hide identhash containing internal objs
Inside ObjectSpace.reachable_objects_from we keep an internal identhash
in order to de-duplicate reachable objects when wrapping them as
InternalObject. Previously this hash was not hidden, making it possible
to leak references to those internal objects to Ruby if using
ObjectSpace.each_object.

This commit solves this by hiding the hash. To simplify collection of
values, we instead now just use the hash as a set of visited objects,
and collect an Array (not hidden) of values to be returned.
2022-02-09 17:32:43 -08:00
..
-test- [Feature #18491] Drop support for HP-UX 2022-01-18 09:52:15 -05:00
bigdecimal [ruby/bigdecimal] Version 3.1.2 2022-01-24 10:56:37 +09:00
cgi/escape
continuation
coverage
date
digest [Feature #18491] Drop support for HP-UX 2022-01-18 09:52:15 -05:00
etc [ruby/etc] Exclude change logs for pre 1.0 2022-01-21 12:22:04 +09:00
fcntl [ruby/fcntl] adding few FreeBSD specific flags. 2022-01-15 18:56:15 +09:00
fiddle Do not need to print to stderr 2022-01-26 10:05:10 +09:00
io [ruby/io-wait] Exclude rake files from packages 2022-02-01 20:04:15 +09:00
json
monitor
nkf
objspace objspace: Hide identhash containing internal objs 2022-02-09 17:32:43 -08:00
openssl [ruby/openssl] Ruby/OpenSSL 3.0.0 2021-12-25 03:31:59 +09:00
pathname [ruby/pathname] Officially drop support for ruby 2.6 or older 2022-01-25 08:50:31 +09:00
psych [ruby/psych] Add strict_integer option to parse numbers with commas as strings 2022-01-22 10:00:51 +09:00
pty [Feature #18491] Drop support for HP-UX 2022-01-18 09:52:15 -05:00
racc/cparse
rbconfig/sizeof
readline [ruby/readline-ext] Bump version to 0.1.4 2021-12-24 17:53:52 +09:00
ripper
rubyvm
socket [Feature #18491] Drop support for HP-UX 2022-01-18 09:52:15 -05:00
stringio
strscan
syslog
win32
win32ole [ruby/win32ole] Undefine allocator of WIN32OLE_VARIABLE to get rid of warning 2021-12-30 21:13:11 +09:00
zlib Prevent installing zlib library 2021-12-25 21:01:43 +09:00
.document
extmk.rb
Setup
Setup.atheos
Setup.nt