diff options
author | Shafik Yaghmour <shafik.yaghmour@intel.com> | 2025-04-07 13:18:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-07 13:18:53 -0700 |
commit | d4c16424cf295e7edb7ecd5f8831ff195f7a8fa7 (patch) | |
tree | 17b81809969b99268756ff0bf3cafd47ea36d260 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 7aedebac8cb473555aa8a2928ac3851b0142921e (diff) | |
download | llvm-d4c16424cf295e7edb7ecd5f8831ff195f7a8fa7.zip llvm-d4c16424cf295e7edb7ecd5f8831ff195f7a8fa7.tar.gz llvm-d4c16424cf295e7edb7ecd5f8831ff195f7a8fa7.tar.bz2 |
[LLVM][Demangle] Fix MS Demangler to be stricter about wide string literals (#134483)
Static analysis detected that Demangler::demangleStringLiteral had a
potential overflow if not checking StringByteSize properly.
Added check to ensure that for wide string it is always even and that
there were the byte count did not mismatch the actual size of the
literal.
Fixes: https://github.com/llvm/llvm-project/issues/129970
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions