NetworkManager/clients/cli
Beniamino Galvani 52c886a6d7 cli: fix crash on autocompletion
@connections is NULL when doing autocompletion. Fixes the following:

 $ nmcli --complete-args con monitor ""
  help
  id
  uuid
  path
  filename
  ...
  Segmentation fault (core dumped)

Fixes: 4b3297271e ('cli: rework connection handling for multiple results')

https://bugzilla.redhat.com/show_bug.cgi?id=1716948
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/merge_requests/177
(cherry picked from commit 6a3bb90ad4)
2019-06-20 10:43:58 +02:00
..
agent.c
agent.h
common.c
common.h
connections.c
connections.h
devices.c
devices.h cli: rework printing of "wired" and "wifi" device details 2018-07-09 15:43:55 +02:00
general.c shared: build helper "libnm-libnm-core-{intern|aux}.la" library for libnm-core 2019-04-18 20:07:44 +02:00
general.h
meson.build
nmcli-completion
nmcli.c
nmcli.h
polkit-agent.c
polkit-agent.h
settings.c
settings.h
utils.c
utils.h