summaryrefslogtreecommitdiff
path: root/lib/json.h
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2017-11-02 11:50:13 -0400
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-11-02 11:53:24 -0400
commit9320658c0d448fd6d90f2b438d0cc60d9a2765d4 (patch)
tree803ab050bb5ef9b016abd63f43ccd91ede1ae7b2 /lib/json.h
parente919cf55bd9c9b40be6747aeddd83699d8bbae3b (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