diff options
| author | David Spickett <david.spickett@linaro.org> | 2024-07-25 09:15:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-25 09:15:03 +0100 |
| commit | f48c16631de07b47e0721b88bd8004e63897f29a (patch) | |
| tree | 6337980018fb0077521e77631f2f924901c955ae /lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface | |
| parent | dc1c00f6b13f724154f9883990f8b21fb8dcccef (diff) | |
[lldb][Linux] Parse, but don't store "comm" from /proc/stat file (#100387)
As reported in https://github.com/llvm/llvm-project/issues/89710, the %s
code used for `comm` could and probably does, overflow the buffer.
Likely we haven't seen it cause problems because the following data is
overwritten right afterwards.
Also scanf isn't a great choice here as this `comm` can include many
characters that might trip up %s.
We don't actually use `comm`, so parse but don't store it so we're not
overflowing anything.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface')
0 files changed, 0 insertions, 0 deletions
