Parent: 3df89f700af7375faedfe123d0ce1834963f6878
Author: Inga Stotland <inga.stotland@intel.com>
Committer: Brian Gix <brian.gix@intel.com>
Date: 2019-07-04 03:03:23
Tree: 823d5fc86bbdf7dc667fe55bc8e8bdc5491b1556
mesh: Fix checks when restoring internal model state This fixes incorrect conditional checks in restore_model_state() which could lead to dereferencing a NULL pointer. Wrong: if (l_queue_isempty(mod->bindings) || !mod->cbs->bind) ... Fixed: if (!l_queue_isempty(mod->bindings) && cbs->bind) ...
Diffstat
| M | mesh/model.c | | | 2 | +- |
1 files changed, 1 insertions(+), 1 deletions(-)