diff options
| author | Alexandre Perez <alexandreperez@meta.com> | 2026-01-08 09:35:02 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-01-08 09:35:02 -0800 |
| commit | 3d6a96c0916fb0b238c2fae0e1791d3663415529 (patch) | |
| tree | 744e7cf708031dd36098017a47e68ae64f1241dc /lldb/test/Shell/ScriptInterpreter/Python | |
| parent | 057c7a79e3add4630e5d0fdce8b38491df5a230b (diff) | |
| download | llvm-3d6a96c0916fb0b238c2fae0e1791d3663415529.zip llvm-3d6a96c0916fb0b238c2fae0e1791d3663415529.tar.gz llvm-3d6a96c0916fb0b238c2fae0e1791d3663415529.tar.bz2 | |
[lldb] Fix null pointer dereference in parsed command completion (#174868)
Fix a crash when tab-completing arguments for parsed commands that have
arguments but no options.
In `HandleArgumentCompletion`, `GetOptions()` returns `nullptr` when a
command has no options defined. The code was dereferencing this pointer
without a null check, causing a segfault when attempting tab completion.
Diffstat (limited to 'lldb/test/Shell/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions
