diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-11-02 11:50:13 -0400 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2017-11-02 11:53:24 -0400 |
| commit | 9320658c0d448fd6d90f2b438d0cc60d9a2765d4 (patch) | |
| tree | 803ab050bb5ef9b016abd63f43ccd91ede1ae7b2 /lib/json.h | |
| parent | e919cf55bd9c9b40be6747aeddd83699d8bbae3b (diff) | |
vtysh: protect null deref for cli completions
cmd_describe_command() returns NULL when there is no matched command, so
check the return value before trying to free it
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/json.h')
0 files changed, 0 insertions, 0 deletions
