From fb5a71fa9516efef6c85330586307562a20b5f81 Mon Sep 17 00:00:00 2001 From: Christian Hopps Date: Mon, 20 Jan 2025 18:33:15 +0000 Subject: 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 --- lib/northbound_notif.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/northbound_notif.c b/lib/northbound_notif.c index 10a81d05f..9caca9f6d 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; -- cgit v1.2.3