about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
diff options
context:
space:
mode:
authorTyler Mandry <tmandry@gmail.com>2020-01-24 00:30:56 -0800
committerGitHub <noreply@github.com>2020-01-24 00:30:56 -0800
commite7752aefdc0765f9350cbe5d563d6f46f9045e26 (patch)
tree1ac0f937d02fcd94986e94400f70d13324c7ea25 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs
parent143059deafe1e5df3cbbaf4d47f5461af7bcf8c3 (diff)
parent9d3e84432dae2e96a5e0f97be18ee09b5a2217b1 (diff)
downloadrust-e7752aefdc0765f9350cbe5d563d6f46f9045e26.tar.gz
rust-e7752aefdc0765f9350cbe5d563d6f46f9045e26.zip
Rollup merge of #68469 - ollie27:skip_count, r=sfackler
Avoid overflow in `std::iter::Skip::count`

The call to `count` on the inner iterator can overflow even if `Skip` itself would return less that `usize::max_value()` items.

Fixes #68139
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions