General

Profile

rhenium (Kazuki Yamaguchi)

Issues

open closed Total
Assigned issues 4 51 55
Reported issues 5 38 43

Projects

Project Roles Registered on
Ruby Committer 05/17/2016

Activity

Today

01:44 AM Ruby Revision 76fe737e (git): [ruby/stringio] Fix inconsistent zero-length reads with output
buffers
(https://github.com/ruby/stringio/pull/238)
This fixes two minor inconsistent behaviors when reading from a
`StringIO` with length==0 and an output buffer:
---
**Return the given buffer in StringIO#read(0, buf)**
Make it behav...
rhenium (Kazuki Yamaguchi)

11/16/2026

01:52 PM Ruby Revision d8c114d1 (git): Lock the buffer in IO.copy_stream fallback reads
A custom write method on an IO-like object can retain the buffer String
and resize it from another thread while a subsequent chunk is being
read into the String without the GVL. Lock the String with
rb_str_locktmp() during the read to pr...
rhenium (Kazuki Yamaguchi)
01:38 PM Ruby Bug #22433 (Closed): IO#sysread and IO#pread are inconsistent for length 0 and negative numbers
Applied in changeset commit:git|06b18f11f4b0078e2683c661e7762fff7c04636c.
----------
io.c: handle 0 and negative lengths in IO#sysread and IO#pread
Make them consistent with IO#readpartial and other read methods. For a
negative length,...
rhenium (Kazuki Yamaguchi)
12:03 PM Ruby Revision 06b18f11 (git): io.c: handle 0 and negative lengths in IO#sysread and IO#pread
Make them consistent with IO#readpartial and other read methods. For a
negative length, raise ArgumentError. For a length of 0, clear the
given buffer and return it without attempting a read, after checking
that the IO is still open for ...
rhenium (Kazuki Yamaguchi)

11/12/2026

01:23 PM Ruby Revision ee74a10c (git): [ruby/openssl] ssl: update docs for SSLContext#servername_cb
Recommend using it with the newly added SSLSocket#add_certificate.
https://github.com/ruby/openssl/commit/9778ae6f94
rhenium (Kazuki Yamaguchi)

11/10/2026

10:09 PM Ruby Revision ccf94258 (git): [ruby/rubygems] Refactor Bundler tests for default gems
ENV["BUNDLER_GEM_DEFAULT_DIR"] is a Bundler test helper that overrides
Gem.default_dir. Make spec/support/hax.rb rebuild the cache used by
Gem.find_default_spec, which otherwise continues to reference the
original default gems.
Existing...
rhenium (Kazuki Yamaguchi)
10:09 PM Ruby Revision 9e16f8e1 (git): [ruby/rubygems] Warn about downgrading default gems in bundle install
Downgrading a gem below the default gem version shipped with the
running Ruby version is not guaranteed to work. Warn when the bundle
contains an older version of a default gem during "bundle install" or
"bundle update".
This can be par...
rhenium (Kazuki Yamaguchi)
05:15 PM Ruby Revision 73c3ca89 (git): [ruby/openssl] pkey: do not retry OSSL_DECODER_from_bio() for DER encoding
Retries are only needed for PEM input, where they are used to skip PEM
blocks that decode into something other than EVP_PKEY. Such cases
should be treated as an error when decoding the input as DER.
https://github.com/ruby/openssl/commi...
rhenium (Kazuki Yamaguchi)
05:14 PM Ruby Revision 6214dbf5 (git): [ruby/openssl] ts: refactor OpenSSL::Timestamp::Factory#create_timestamp
Wrap everything in a big rb_protect() to simplify error handling and
cleanup. This also fixes potential issues:
- Missing error check of TS_RESP_CTX_set_signer_key()
- Missing error check of TS_RESP_CTX_set_certs()
- Missing error...
rhenium (Kazuki Yamaguchi)
05:11 PM Ruby Revision be1c9d51 (git): [ruby/openssl] Fix unchecked OpenSSL calls, part 2
Fixes https://github.com/ruby/openssl/issues/1038
https://github.com/ruby/openssl/commit/96aa2a0f3d
rhenium (Kazuki Yamaguchi)

Also available in: Atom