General

Profile

rhenium (Kazuki Yamaguchi)

Issues

open closed Total
Assigned issues 5 50 55
Reported issues 3 37 40

Projects

Project Roles Registered on
Ruby Committer 05/17/2016

Activity

09/26/2026

11:58 AM Ruby Bug #22342 (Closed): IO#gets can ignore the limit argument in some edge cases
Applied in changeset commit:git|227006291d35b2255b3f7a888d75102c129b0472.
----------
Fix IO#gets ignoring the limit argument
IO#gets first searches for separator candidates by looking for the last
byte of the record separator, and then...
rhenium (Kazuki Yamaguchi)
11:25 AM Ruby Revision 22700629 (git): Fix IO#gets ignoring the limit argument
IO#gets first searches for separator candidates by looking for the last
byte of the record separator, and then checks whether it is an actual
match.
If a candidate is found at limit-th byte of the stream but is rejected
because it does ...
rhenium (Kazuki Yamaguchi)

09/24/2026

06:25 AM Ruby Revision 85fb0e52 (git): [ruby/openssl] ssl: clear error queue before raising SystemCallError
Clear the OpenSSL error queue when an OpenSSL function fails with
SSL_ERROR_SYSCALL. ruby/openssl methods are expected not to leave stale
entries in the error queue.
While this no longer appears to happen with OpenSSL >= 3.0, LibreSSL
a...
rhenium (Kazuki Yamaguchi)

09/22/2026

04:22 PM Ruby Bug #22342: IO#gets can ignore the limit argument in some edge cases
I've opened a GitHub PR for this: https://github.com/ruby/ruby/pull/18961 rhenium (Kazuki Yamaguchi)
04:19 PM Ruby Bug #22342 (Closed): IO#gets can ignore the limit argument in some edge cases
`io.gets(rs, limit)` ignores the `limit` value and reads until `rs` is found or EOF, if the `limit`-th byte of the stream matches `rs`'s last byte and:
1. The potential start of the record separator, the `limit-rs.bytesize`-th byte of...
rhenium (Kazuki Yamaguchi)

09/17/2026

05:08 AM Ruby Revision ece2ae9c (git): [ruby/resolv] Update test code for Resolv::DNS::Config ndots
Add more assertions to actually test that the ndots option is working
as expected: the option controls the threshold that the search list
should be attempted earlier or later.
https://github.com/ruby/resolv/commit/a6b5856ef4
rhenium (Kazuki Yamaguchi)
05:08 AM Ruby Revision d8748167 (git): [ruby/resolv] Fix querying absolute domain name twice
When search list is not explicitly specified, Resolv::DNS checks the
local domain name of the running system. If it is not set either, the
root domain ['.'] is used.
This is conceptually correct, but the code handles the absolute name
s...
rhenium (Kazuki Yamaguchi)
05:08 AM Ruby Revision d7b25641 (git): [ruby/resolv] Tidy up ndots handling
The current code works, but the intention was not clear at first glance.
https://github.com/ruby/resolv/commit/deaf5ab649
rhenium (Kazuki Yamaguchi)

09/02/2026

10:02 AM Ruby Revision 151a401b (git): [ruby/rubygems] Drop encipherment key usages from Gem::Security.create_cert defaults
keyEncipherment should be set only when the subject public key is used
for key transport, and dataEncipherment only when it is used to
directly encrypt user data. RubyGems uses the key for neither purpose.
These key usages are also not ...
rhenium (Kazuki Yamaguchi)

08/31/2026

06:12 PM Ruby Revision e7afdd4d (git): [ruby/openssl] ssl: refactor tests for protocol version negotiation
Since we have dropped support for OpenSSL 1.0.2, all versions of
OpenSSL and compatible libraries we currently support can speak TLS 1.2
and TLS 1.3. We can use this to simplify tests around the protocol
version negotiation.
https://git...
rhenium (Kazuki Yamaguchi)

Also available in: Atom