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 | 20 | 365 | 385 |
Projects
| Project | Roles | Registered on |
|---|---|---|
| Ruby | Committer, Security team, Infrastructure team | 05/28/2008 |
Activity
11/10/2026
-
03:53 AM Ruby Bug #22518 (Closed): String#unpack("m") computes the buffer size with an overflowing multiplication
- Applied in changeset commit:git|9deaec155c201ac11342adbd416bfeba42031d27.
----------
Compute the buffer size of unpack("m") without overflow
(send - s + 3) * 3 / 4 overflowed for an input of about 700 MB where
long is 32-bit. Divide be... -
03:52 AM Ruby Revision 9deaec15 (git): Compute the buffer size of unpack("m") without overflow
- (send - s + 3) * 3 / 4 overflowed for an input of about 700 MB where
long is 32-bit. Divide before multiplying, as each 4 characters decode
to at most 3 bytes.
[Bug #22518]
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> -
03:52 AM Ruby Revision 7ec50764 (git): Check that the recompiled regexp has the same number of groups
- The registers are allocated for the original regexp, so if the regexp
recompiled for the string's encoding has a different number of groups,
Onigmo would reallocate them. Check it when recompiling and stop with
rb_bug if they differ.
[B...
11/09/2026
-
03:52 PM Ruby Bug #22517 (Closed): Some String methods return a UTF-16/32 string without room for its terminator
- Applied in changeset commit:git|73db2bd4e98cab1e28f04f14cefd660bb5b75b84.
----------
Allocate the result of String#reverse with the terminator of its encoding
rb_str_reverse allocated the result with room for a 1-byte terminator
and th... -
03:51 PM Ruby Revision 6b6d75fd (git): Use rb_enc_associate_index to set the encoding in ASCII-only case mapping
- rb_str_ascii_casemap set the encoding of the result with str_enc_copy,
which does not adjust the room for the terminator.
[Bug #22517]
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> -
03:51 PM Ruby Revision fc9d1cd6 (git): Allocate the result of String#succ with the terminator of its encoding
- [Bug #22517]
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> -
03:51 PM Ruby Revision a60de9cf (git): Keep room for the terminator in the result of String#scrub
- enc_str_scrub set the encoding of the result without adjusting the room
for the terminator.
[Bug #22517]
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> -
03:51 PM Ruby Revision c2f4312b (git): Allocate a frozen copy of a shareable string with the terminator of its encoding
- str_new_frozen_buffer copied a shareable string with room for a 1-byte
terminator, so String#-@ on a shareable UTF-16 or UTF-32 string
returned a string without room for its terminator.
[Bug #22517]
Co-Authored-By: Claude Opus 5.5 <nor... -
03:51 PM Ruby Revision 8d2bec3b (git): Allocate the result of String#slice! with the terminator of its encoding
- [Bug #22517]
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> -
03:51 PM Ruby Revision c6cf749f (git): Assert that str_enc_copy_direct is used on a string with room for the terminator
- str_enc_copy_direct does not adjust the room for the terminator, so the
string must already have room for the terminator of the new encoding.
[Bug #22517]
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>