llvm-project
5f2c5b78 - [libc++] Fix incorrect size check when growing std::string (#232737)

Commit
27 days ago
[libc++] Fix incorrect size check when growing std::string (#232737) When trying to grow very large amounts the `max_size()` check could fail due to the result of adding the current capacity and the additional capacity could wrap.
Author
Parents
Loading