diff options
| author | bors <bors@rust-lang.org> | 2020-02-03 16:47:25 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-02-03 16:47:25 +0000 |
| commit | a39589480b8d2d1145fd01c335a723bb4408371f (patch) | |
| tree | 60a12454cb55bc74669d9fd05227decfa3d269a6 /src/test/incremental/thinlto | |
| parent | fdc6690a2ebbcb8527bb922d9be6c3bd1c6aae64 (diff) | |
| parent | bae129ac692f33998094eaa73edb977df66b854d (diff) | |
| download | rust-a39589480b8d2d1145fd01c335a723bb4408371f.tar.gz rust-a39589480b8d2d1145fd01c335a723bb4408371f.zip | |
Auto merge of #5129 - JohnTitor:use-checked-sub, r=flip1995
Use `checked_sub` to avoid index out of bounds (Fixes) #4681 (possibly) The issue likely occurs due to `lit_snip.len() < suffix.len() + 1`. You can see similar backtrace to change it to `lit_snip.len() - suffix.len() - 1000` or something then run `cargo test --release`. But I couldn't come up with the test so I'd leave the issue open if we want. changelog: Fix potential ICE in `misc_early`
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions
