commit | bc12d5503082bc125a7120b3a7c1e500a4d39603 | [log] [tgz] |
---|---|---|
author | Kostya Kortchinsky <kostyak@google.com> | Fri Jun 04 13:38:26 2021 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Jun 16 18:24:54 2021 -0700 |
tree | 3d5e4d8540f4ea0e4267a1a69e9c8e3073ddbca4 | |
parent | 807821e78eaf24dd910efdbaea6f289804a28203 [diff] |
[scudo] Fix String DCHECK This resolves an issue tripping a `DCHECK`, as I was checking for the capacity and not the size. We don't need to 0-init the Vector as it's done already, and make sure we only 0-out the string on clear if it's not empty. Differential Revision: https://reviews.llvm.org/D103716 GitOrigin-RevId: 5019b0a56588fc13e6a37c49e22a812afe6c4416