summaryrefslogtreecommitdiff
path: root/ci/linux_gcc-latest_libstdcxx_cmake.sh
diff options
context:
space:
mode:
authorGravatar Derek Mauro <761129+derekmauro@users.noreply.github.com>2020-10-09 14:49:09 -0400
committerGravatar GitHub <noreply@github.com>2020-10-09 14:49:09 -0400
commitbd0de71e754eb3280094e89c7ac35a14dac6d61c (patch)
tree4ad17d09d8c6e44878ad6bb3586f0d25258f4cff /ci/linux_gcc-latest_libstdcxx_cmake.sh
parentb56cbdd23834a65682c0b46f367f8679e83bc894 (diff)
Adds bounds-checking to the second range of absl container algorithms (#810)20200923.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 'ci/linux_gcc-latest_libstdcxx_cmake.sh')
0 files changed, 0 insertions, 0 deletions