diff options
| author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-09-10 12:57:34 +0900 |
|---|---|---|
| committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2025-09-10 16:45:25 +0900 |
| commit | 624538ba927b3d5fa021af0df3c8c29b11ef14f7 (patch) | |
| tree | 01a88e810c742b961fabf8a9bbf969c3e63e12bb /test/ruby/test_readpartial.rb | |
| parent | f047174cf16c42843807c8430d18a83d2aa6175e (diff) | |
dtoa.c: Check integer underflow
Reported at https://hackerone.com/reports/3288162
This underflow does not occur in Ruby because:
* This function is `static` and not accessible other than from ruby
internal.
* Ruby uses mode 0 when calling this function directly.
* For `%f` in vsnprintf.c using mode 3, this parameter comes from the
precision, but negative precision is meaningless and ignored.
Diffstat (limited to 'test/ruby/test_readpartial.rb')
0 files changed, 0 insertions, 0 deletions
