diff options
| author | NARUSE, Yui <naruse@airemix.jp> | 2023-01-31 13:39:13 +0900 |
|---|---|---|
| committer | NARUSE, Yui <naruse@airemix.jp> | 2023-01-31 13:39:13 +0900 |
| commit | 5a2b28909ece2e1310250180f097bfcb7b0203dc (patch) | |
| tree | 66ec658dd43b073fa6195a417937299821ab0caf /include/ruby/internal/iterator.h | |
| parent | 1689d8bb4843f92c1805e4a4bdd94049569198f4 (diff) | |
merge revision(s) 3f54d09a5b8b6e4fd734abc8911e170d5967b5b0: [Backport #19390]
bignum.c: rb_int_parse_cstr handle `0` strings
[Bug #19390]
We shouldn't check the string length when skipping zeros, as the
string might only contains zero characters, resulting in an empty string.
---
bignum.c | 1 -
test/ruby/test_time.rb | 4 ++++
2 files changed, 4 insertions(+), 1 deletion(-)
Diffstat (limited to 'include/ruby/internal/iterator.h')
0 files changed, 0 insertions, 0 deletions
