Task #67430 - fixed.err

back to task #67430
download
Error: GCC_ANALYZER_WARNING (CWE-688):
crun-HEAD/src/libcrun/cgroup-systemd.c: scope_hint: In function 'bpfprog_path_from_scope'
crun-HEAD/src/libcrun/cgroup-systemd.c:1389:16: warning[-Wanalyzer-null-argument]: use of NULL 'it' where non-null expected
crun-HEAD/src/libcrun/cgroup-internal.h:22: included_from: Included from here.
crun-HEAD/src/libcrun/cgroup-systemd.c:23: included_from: Included from here.
<built-in>: note: argument 1 of '__builtin_strchr' must be non-null
# 1387|     /* Remove dots as EBPF code don't like them.  */
# 1388|     it = flat_scope;
# 1389|->   while ((it = strchr (it, '.')) != NULL)
# 1390|       *it = '_';
# 1391|