diff options
| author | Krzysztof Parzyszek <Krzysztof.Parzyszek@amd.com> | 2024-03-08 07:21:21 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-08 07:21:21 -0600 |
| commit | aa26faf05ecd7ee77487772fe0406f2de1df0dac (patch) | |
| tree | 0e7749e1b5e3b1568a45c16afef5873dc019ff96 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 65524fcb5d4e5f4f5450c38d3e075cce192586bb (diff) | |
[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.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
