Error: GCC_ANALYZER_WARNING (CWE-401): [#def1] crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c: scope_hint: In function 'make_runtime_spec_schema_config_vm_image' crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:508:11: warning[-Wanalyzer-malloc-leak]: leak of '<unknown>' crun-HEAD/libocispec/src/ocispec/json_common.h:9: included_from: Included from here. crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.h:7: included_from: Included from here. crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:8: included_from: Included from here. crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING' crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:516:25: note: in expansion of macro 'YAJL_GET_STRING' crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING' crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:528:25: note: in expansion of macro 'YAJL_GET_STRING' # 506| if (tree == NULL) # 507| return NULL; # 508|-> ret = calloc (1, sizeof (*ret)); # 509| if (ret == NULL) # 510| return NULL; Error: GCC_ANALYZER_WARNING (CWE-401): [#def2] crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:508:11: warning[-Wanalyzer-malloc-leak]: leak of 'resi' crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING' crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:516:25: note: in expansion of macro 'YAJL_GET_STRING' crun-HEAD/libocispec/yajl/src/api/yajl_tree.h:162:29: note: in expansion of macro 'YAJL_IS_STRING' crun-HEAD/libocispec/src/ocispec/runtime_spec_schema_config_vm.c:528:25: note: in expansion of macro 'YAJL_GET_STRING' # 506| if (tree == NULL) # 507| return NULL; # 508|-> ret = calloc (1, sizeof (*ret)); # 509| if (ret == NULL) # 510| return NULL; Error: COMPILER_WARNING (CWE-563): [#def3] crun-HEAD/src/libcrun/handlers/krun.c: scope_hint: In function 'libkrun_exec' crun-HEAD/src/libcrun/handlers/krun.c:412:13: warning[-Wunused-variable]: unused variable 'krun_set_vm_config' # 412 | int32_t (*krun_set_vm_config) (uint32_t ctx_id, uint8_t num_vcpus, uint32_t ram_mib); # | ^~~~~~~~~~~~~~~~~~ # 410| int32_t (*krun_set_log_level) (uint32_t level); # 411| int (*krun_start_enter) (uint32_t ctx_id); # 412|-> int32_t (*krun_set_vm_config) (uint32_t ctx_id, uint8_t num_vcpus, uint32_t ram_mib); # 413| int32_t (*krun_set_root) (uint32_t ctx_id, const char *root_path); # 414| int32_t (*krun_set_root_disk) (uint32_t ctx_id, const char *disk_path);
| analyzer-version-clippy | 1.94.0 |
| analyzer-version-cppcheck | 2.20.0 |
| analyzer-version-gcc | 16.0.1 |
| analyzer-version-gcc-analyzer | 16.0.1 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.94.0 |
| diffbase-analyzer-version-cppcheck | 2.20.0 |
| diffbase-analyzer-version-gcc | 16.0.1 |
| diffbase-analyzer-version-gcc-analyzer | 16.0.1 |
| diffbase-analyzer-version-shellcheck | 0.11.0 |
| diffbase-analyzer-version-unicontrol | 0.0.2 |
| diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| diffbase-exit-code | 0 |
| diffbase-host | ip-172-16-1-230.us-west-2.compute.internal |
| diffbase-known-false-positives | /usr/share/csmock/known-false-positives.js |
| diffbase-known-false-positives-rpm | known-false-positives-0.0.0.20260308.181716.g94c371b.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | crun-1.26-1.20260311201912319609.main.146.gc07aadc3 |
| diffbase-store-results-to | /tmp/tmpriqo693a/crun-1.26-1.20260311201912319609.main.146.gc07aadc3.tar.xz |
| diffbase-time-created | 2026-03-13 11:33:28 |
| diffbase-time-finished | 2026-03-13 11:37:09 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,clippy,cppcheck,shellcheck,gcc' '-o' '/tmp/tmpriqo693a/crun-1.26-1.20260311201912319609.main.146.gc07aadc3.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpriqo693a/crun-1.26-1.20260311201912319609.main.146.gc07aadc3.src.rpm' |
| diffbase-tool-version | csmock-3.8.4.20260302.153719.g8203630-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-230.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20260308.181716.g94c371b.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | crun-1.26-1.20260313112454322724.pr1913.152.g3c7c3a29 |
| store-results-to | /tmp/tmp1qkj2v54/crun-1.26-1.20260313112454322724.pr1913.152.g3c7c3a29.tar.xz |
| time-created | 2026-03-13 11:37:35 |
| time-finished | 2026-03-13 11:40:47 |
| title | Newly introduced findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,clippy,cppcheck,shellcheck,gcc' '-o' '/tmp/tmp1qkj2v54/crun-1.26-1.20260313112454322724.pr1913.152.g3c7c3a29.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp1qkj2v54/crun-1.26-1.20260313112454322724.pr1913.152.g3c7c3a29.src.rpm' |
| tool-version | csmock-3.8.4.20260302.153719.g8203630-1.el9 |