Parent: c954096a11fd51873fb0dd9e099e9cbb1317cf12
Author: Inga Stotland <inga.stotland@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2020-10-29 17:20:58
Tree: b331703da0cc97097384be61099b307af10c02bc
tools/mesh-cfgclient: Fix errors found by static analysis This fixes a NULL pointer dereference error in subscription_cmd(). Also re-order calling sequence for l_free() & l_queue_remove() in msg_recvd(): even though technically it is not a bug to pass a value of a freed pointer to l_queue_remove(), it's a poor form and confuses the analyzer.
Diffstat
| M | tools/mesh/cfgcli.c | | | 15 | +++++++- - - - - - - - |
1 files changed, 7 insertions(+), 8 deletions(-)