diff options
author | 2020-10-09 14:47:51 -0400 | |
---|---|---|
committer | 2020-10-09 14:47:51 -0400 | |
commit | 49bd3cc77c0abd5f8d8ef13c3e8c641c2cb5042d (patch) | |
tree | 084344ffa49bf4963111f56a3fe65b0da267ae31 /ABSEIL_ISSUE_TEMPLATE.md | |
parent | fcb104594b0bb4b8ac306cb2f55ecdad40974683 (diff) |
Adds bounds-checking to the second range of absl container algorithms (#813)20181200.1
The APIs for the two-range `absl::c_mismatch`, `absl::c_swap_ranges`,
and `absl::c_transform` are misleading as they do not check the bounds
of the second range against the first one.
This commit cleans up ensures that buggy calls are not exploitable;
non-buggy calls are unaffected.
This is consistent with both C++14's two-range `std::` equivalents and
C++20's `std::ranges::` equivalents.
http://wg21.link/mismatch
http://wg21.link/alg.swap
http://wg21.link/alg.transform
Diffstat (limited to 'ABSEIL_ISSUE_TEMPLATE.md')
0 files changed, 0 insertions, 0 deletions