aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2021-11-28 14:47:57 -0800
committerFangrui Song <i@maskray.me>2021-11-28 14:47:57 -0800
commitd060cc1f9808dd5de524334fd695404a96e3175f (patch)
treefe8fde8da38a2368d1b67ab88d49f1c188c08109 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parentcecc6893a08618fc753cd55893b720a01fbd2b51 (diff)
downloadllvm-d060cc1f9808dd5de524334fd695404a96e3175f.zip
llvm-d060cc1f9808dd5de524334fd695404a96e3175f.tar.gz
llvm-d060cc1f9808dd5de524334fd695404a96e3175f.tar.bz2
[ELF] Fix out-of-bounds write in memset(&Out::first, ...)
Fix r285764: there is no guarantee that Out::first is placed before other static data members of `struct Out`. After `bufferStart` was introduced, this out-of-bounds write is destined in many compilers. It is likely benign, though. And move `Out::elfHeader->size` assignment beside `Out::elfHeader->sectionIndex`
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions