diff options
| author | Christian Hopps <chopps@labn.net> | 2025-01-20 18:33:15 +0000 |
|---|---|---|
| committer | Christian Hopps <chopps@labn.net> | 2025-01-21 16:27:44 +0000 |
| commit | fb5a71fa9516efef6c85330586307562a20b5f81 (patch) | |
| tree | 9acb49408c471b0b2ba03fca47919b2974ebee0a /lib | |
| parent | 97b78759630ea782d07987dd6b3a87e7e02c453c (diff) | |
lib: fix coverity use after free issue: CID 1620101
The code doesn't push more than one group (currently) so wouldn't hit the
bug yet, nice catch by coverity.
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/northbound_notif.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/northbound_notif.c b/lib/northbound_notif.c index 10a81d05fb..9caca9f6d7 100644 --- a/lib/northbound_notif.c +++ b/lib/northbound_notif.c @@ -600,6 +600,7 @@ static void timer_walk_continue(struct event *event) timer_walk_done(args); return; } + group = args->group; } path = group->cur_change->path; |
