Files
Louis Dionne 82fc843747 [libc++] Don't assume a valid range in find_if for empty inputs (#213752)
Iterators for empty ranges are sometimes implemented using a
non-aligned sentinel value. Requiring proper alignment in that
case (which is part of the valid range assumption) causes a
hardening failure. Instead, don't make the assumption of a
valid range when the input range is empty in find_if.

(cherry picked from commit 83290d61f6ead40a5c38297a0442b63291ce7a48)
2026-09-16 21:33:12 +00:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…