diff options
| author | Philipp Krones <hello@philkrones.com> | 2020-07-13 15:59:45 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-13 15:59:45 +0200 |
| commit | 26ede3115fbaaab5aecf6ca32ab97cd0feb9f38b (patch) | |
| tree | b3e95076013e9d5c5bb44c997d9ed510e6c82925 /src/rustllvm/CoverageMappingWrapper.cpp | |
| parent | 32ef448bdb915f5ccb37daf7c32ad50b85c8ef0d (diff) | |
| parent | 1b3bc16533a3e701616648920603c10674eb653b (diff) | |
| download | rust-26ede3115fbaaab5aecf6ca32ab97cd0feb9f38b.tar.gz rust-26ede3115fbaaab5aecf6ca32ab97cd0feb9f38b.zip | |
Rollup merge of #5784 - matthiaskrgr:ice_5780, r=phansch
Fix out of bounds access by checking length equality BEFORE accessing by index. Fixes #5780 changelog: fix out of bounds access in unnested_or_patterns lint. Edit: I did not bother reducing a testcase from `librustc_typeck` crate but I can confirm that with the change the crash no longer occurs.
Diffstat (limited to 'src/rustllvm/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
