[libcxx-commits] [libcxx] [libc++] Add an ABI setting to harden unique_ptr<T[]>::operator[] (PR #91798)

Konstantin Varlamov via libcxx-commits libcxx-commits at lists.llvm.org
Sat Oct 5 19:11:13 PDT 2024


================
@@ -292,6 +298,91 @@ class _LIBCPP_UNIQUE_PTR_TRIVIAL_ABI _LIBCPP_TEMPLATE_VIS unique_ptr {
   }
 };
 
+// Bounds checking in unique_ptr<T[]>
----------------
var-const wrote:

Can you please also update the hardening docs and perhaps add a release note?

https://github.com/llvm/llvm-project/pull/91798


More information about the libcxx-commits mailing list