General

Profile

mame (Yusuke Endoh)

  • Login: mame
  • Email: mame@ruby-lang.org
  • Registered on: 05/28/2008
  • Last sign in: 03/16/2026

Issues

open closed Total
Assigned issues 3 151 154
Reported issues 18 368 386

Projects

Project Roles Registered on
Ruby Committer, Security team, Infrastructure team 05/28/2008

Activity

Today

06:31 AM Ruby Revision d4679a81 (git): Call to_hash before the checks in Hash#replace
Hash#replace checked the iteration before calling #to_hash. When
table was freed and replaced while it was being iterated. Also, when
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mame (Yusuke Endoh)
06:31 AM Ruby Revision f975cf99 (git): Check the frozen state again after to_hash in Hash#replace
#to_hash can freeze the receiver, and Hash#replace then rewrote the
frozen hash.
Co-authored-by: Koichi Sasada <ko1@atdot.net>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mame (Yusuke Endoh)
06:16 AM Ruby Revision e8cf118d (git): Split the generic File.expand_path as rb_file_expand_path_generic
86df08dac6 excluded rb_file_expand_path_internal in file.c from Windows,
where win32/file.c defines it with GetFullPathNameW. Rename it to
rb_file_expand_path_generic and compile it on all platforms, with
getcwdofdrv implemented by GetF...
mame (Yusuke Endoh)
06:16 AM Ruby Revision 288c46da (git): Normalize paths in the generic File.expand_path as GetFullPathNameW does
On Windows, rb_file_expand_path_generic now behaves as follows, as
GetFullPathNameW does.
* "//host/share" of a UNC path is the root, which ".." cannot go above.
* "\\?\" and "\\.\" of a device path are the root, which ".." cannot go
...
mame (Yusuke Endoh)
06:16 AM Ruby Revision 3140eafe (git): Use the generic File.expand_path when GetFullPathNameW fails on Windows
GetFullPathNameW fails for a path exceeding its length limit and for a
name of only spaces, but its result was used without checking. In that
case, normalize the path by the generic implementation in file.c, which
is now compiled also o...
mame (Yusuke Endoh)
06:14 AM Ruby Revision 539d3b57 (git): Build the new table of Set#reset in a temporary set
The new table was held only in a local variable, so it leaked when
#hash raised. Build it in a hidden set object, as Hash#rehash does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mame (Yusuke Endoh)
05:54 AM Ruby Revision f5621232 (git): [ruby/net-http] Clear proxy credentials when p_no_proxy excludes the host
Net::HTTP.new dropped the proxy address and port when the host matched
p_no_proxy, but kept p_user and p_pass, so the request to the host still
carried a Proxy-Authorization header. Clear them as well, as is already
the case when the pro...
mame (Yusuke Endoh)
05:54 AM Ruby Revision b1e24609 (git): [ruby/net-http] Send Proxy-Authorization only when a proxy is used
Net::HTTP#request added Proxy-Authorization whenever proxy_user was
set, even when the connection did not go through a proxy, e.g.,
Net::HTTP.new(host, port, nil, nil, user, pass).
https://github.com/ruby/net-http/commit/c826825468
Co-...
mame (Yusuke Endoh)
05:43 AM Ruby Revision fe9fc018 (git): Detect the table replaced during st_foreach
As in abe9f9da5e, Hash#rehash and Hash#compare_by_identity replace the
whole st_table and reset rebuilds_num, and so does Set#reset for
set_table. When the callback of st_foreach called them, the iteration
kept reading the freed entries...
mame (Yusuke Endoh)
05:43 AM Ruby Revision 43dc0b6e (git): Check the current bound in ar_general_foreach
ar_clear only resets the bound and the size of the ar_table, and keeps
the pairs and the hints. When the callback of rb_hash_stlike_foreach
cleared the hash, the loop went on with the old bound and passed the
cleared pairs, which are no...
mame (Yusuke Endoh)

Also available in: Atom