diff options
author | Kunqiu Chen <camsyn@foxmail.com> | 2025-07-25 14:05:53 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-25 14:05:53 +0800 |
commit | 84dc97e51eb4cd85de27805476d2f438ed9e6224 (patch) | |
tree | 06d0e52a8b6a1629e66ec7bf9300f14d96e536d1 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 65461246ff48669f7337f57da1aba2989d6d3dfc (diff) | |
download | llvm-84dc97e51eb4cd85de27805476d2f438ed9e6224.zip llvm-84dc97e51eb4cd85de27805476d2f438ed9e6224.tar.gz llvm-84dc97e51eb4cd85de27805476d2f438ed9e6224.tar.bz2 |
[MSan] Fix check overflow in a test case (#150429)
Supplement to PR #144073
Previously, _msan_check_mem_is_initialized.cpp_ initialized a 32-byte
stack array, but checked the shadow for the offset range [12, 42),
exceeding the stack array size.
MSan does not guarantee that the shadow corresponding to the overflow
part is 0, so it is undefined to require the overflow part to be
unpoisoned.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions