diff options
| author | bors <bors@rust-lang.org> | 2020-09-13 11:08:41 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-09-13 11:08:41 +0000 |
| commit | 17d32770649fefe8efe6510f7dbff6123f544ba6 (patch) | |
| tree | b135999cff4666b2b182c288f85dda8ae5f53cbc /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | b6c84553c4fa47174d2510541a90243000fb44d8 (diff) | |
| parent | 62068a59eea44ff78c4293d5fcc676279b1deab0 (diff) | |
| download | rust-17d32770649fefe8efe6510f7dbff6123f544ba6.tar.gz rust-17d32770649fefe8efe6510f7dbff6123f544ba6.zip | |
Auto merge of #76598 - ad-anssi:diagnostic_errors_fix, r=estebank
Fixing memory exhaustion when formatting short code suggestion Details can be found in issue #76597. This PR replaces substractions with `saturating_sub`'s to avoid usize wrapping leading to memory exhaustion when formatting short suggestion messages.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
