From: Mike Yuan Date: Sun, 14 Apr 2024 15:21:13 +0000 (+0800) Subject: core/dbus-manager: add missing assertion X-Git-Tag: v256-rc1~198^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a70edc1f7a1da98521eac4dddafc06f60750696;p=thirdparty%2Fsystemd.git core/dbus-manager: add missing assertion --- diff --git a/src/core/dbus-manager.c b/src/core/dbus-manager.c index fa85a5e6980..59a7f2bd356 100644 --- a/src/core/dbus-manager.c +++ b/src/core/dbus-manager.c @@ -772,6 +772,7 @@ static int method_generic_unit_operation( assert(message); assert(m); + assert(handler); /* Read the first argument from the command and pass the operation to the specified per-unit * method. */