[libcxx-commits] [libcxx] [libc++] Fix incorrect size check when growing std::string (PR #232737)

Hubert Tong via libcxx-commits libcxx-commits at lists.llvm.org
Wed Oct 21 08:12:23 PDT 2026


https://github.com/hubert-reinterpretcast commented:

My understanding is that the new tests don't cover `__grow_by_and_replace`. On 64-bit platforms, it should be possible to hit the subject issue with `__grow_by_and_replace` cases using a custom allocator that uses a 32-bit `size_type`.

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


More information about the libcxx-commits mailing list