Files
llvm-project/lldb/source/Commands/CommandObjectCommands.cpp
Alexandre Perez 3d6a96c091 [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.
2026-01-08 09:35:02 -08:00

108 KiB