| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| BUILD.bazel | ||
| CMakeLists.txt | ||
| algorithm.h | ||
| algorithm_test.cc | ||
| container.h | ||
| container_test.cc | ||
| equal_benchmark.cc |
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
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| BUILD.bazel | Loading commit data... | |
| CMakeLists.txt | Loading commit data... | |
| algorithm.h | Loading commit data... | |
| algorithm_test.cc | Loading commit data... | |
| container.h | Loading commit data... | |
| container_test.cc | Loading commit data... | |
| equal_benchmark.cc | Loading commit data... |