Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[flang][unittests] Fix buffer overrun in FrontendActionTest (#84381)
When` SmallVector<char>` is used as a backing storage, it can't be assumed to end with a \x0. When creating a `StringRef` from it, pass the length explicitly. This was detected by address sanitizer.
- Loading branch information