Task #92277 - added.err
back to task #92277download
Error: GCC_ANALYZER_WARNING (CWE-688): crun-HEAD/src/libcrun/handlers/krun.c: scope_hint: In function 'libkrun_configure_flavor' crun-HEAD/src/libcrun/handlers/krun.c:291:20: warning[-Wanalyzer-null-argument]: use of NULL 'flavor' where non-null expected crun-HEAD/libocispec/src/ocispec/json_common.h:7: included_from: Included from here. crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_schema.h:7: included_from: Included from here. crun-HEAD/src/libcrun/container.h:23: included_from: Included from here. /usr/include/string.h:171:12: note: argument 1 of 'strcmp' must be non-null # 289| // The SEV flavor will be used if the krun VM config indicates to use SEV # 290| // within the "flavor" field. # 291|-> sev_indicated |= strcmp (flavor, KRUN_FLAVOR_SEV) == 0; # 292| nitro_indicated |= strcmp (flavor, KRUN_FLAVOR_NITRO) == 0; # 293|