julia
306124c0
- Fix integer overflow in `skip(s::IOBuffer, typemax(Int64))` (#54070)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
Commit
1 year ago
Fix integer overflow in `skip(s::IOBuffer, typemax(Int64))` (#54070) Fixes #53908 by clamping before doing addition. This also fixes an issue with negative skips if `io.offset` isn't zero. I am assuming that `io.size+1` cannot overflow.
References
#54070 - Fix integer overflow in `skip(s::IOBuffer, typemax(Int64))`
Author
nhz2
Parents
159f4d74
Loading