[libcxx-commits] [PATCH] D147089: [libc++] Add assertions for potential OOB reads in std::sort

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu May 4 14:26:20 PDT 2023


ldionne updated this revision to Diff 519658.
ldionne added a comment.

Rebase and fix issues where we'd check against the incorrect bounds.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D147089/new/

https://reviews.llvm.org/D147089

Files:
  libcxx/docs/ReleaseNotes.rst
  libcxx/include/__algorithm/sort.h
  libcxx/test/libcxx/algorithms/alg.sorting/assert.sort.invalid_comparator.pass.cpp
  libcxx/test/libcxx/algorithms/alg.sorting/bad_comparator_values.dat

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147089.519658.patch
Type: text/x-patch
Size: 43460 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230504/3e833b0e/attachment-0001.bin>


More information about the libcxx-commits mailing list