mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-06-09 06:18:20 +02:00
readline crashes if we return an empty completion list; return NULL instead. This is reproducible, for example, with: $ nmcli --ask connection add Interface name [*]: doesnotexist<TAB> Segmentation fault (core dumped) $ nmcli --ask connection add Interface name [*]: Connection type: avian-carr<TAB> Segmentation fault (core dumped) |
||
|---|---|---|
| .. | ||
| cli | ||
| common | ||
| tui | ||
| nm-online.c | ||