PyYAML-6.0.1-17.fc41

List of Defects

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
PyYAML-6.0.1-build/pyyaml-6.0.1/yaml/_yaml.c: scope_hint: In function ‘__Pyx_MergeVtables’
PyYAML-6.0.1-build/pyyaml-6.0.1/yaml/_yaml.c:29353:21: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘base_vtables’
#29351|       }
#29352|       base_vtables = (void**) malloc(sizeof(void*) * (size_t)(base_depth + 1));
#29353|->     base_vtables[0] = unknown;
#29354|       for (i = 1; i < PyTuple_GET_SIZE(bases); i++) {
#29355|           void* base_vtable = __Pyx_GetVtable(((PyTypeObject*)PyTuple_GET_ITEM(bases, i)));

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-62.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namePyYAML-6.0.1-17.fc41
store-results-to/tmp/tmpz4ezeotk/PyYAML-6.0.1-17.fc41.tar.xz
time-created2024-07-03 11:58:50
time-finished2024-07-03 12:00:12
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpz4ezeotk/PyYAML-6.0.1-17.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpz4ezeotk/PyYAML-6.0.1-17.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9