Fixed defects

List of Defects

Error: CPPCHECK_WARNING (CWE-476): [#def1]
Python-3.12.2/Include/object.h:234: warning[nullPointer]: Possible null pointer dereference: var_ob
#  232|       assert(ob->ob_type != &PyBool_Type);
#  233|       PyVarObject *var_ob = _PyVarObject_CAST(ob);
#  234|->     return var_ob->ob_size;
#  235|   }
#  236|   #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000

Scan Properties

analyzer-version-clang18.1.3
analyzer-version-cppcheck2.13.0
analyzer-version-gcc14.0.1
analyzer-version-gcc-analyzer14.0.1
analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-clang18.1.3
diffbase-analyzer-version-cppcheck2.13.0
diffbase-analyzer-version-gcc14.0.1
diffbase-analyzer-version-gcc-analyzer14.0.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-209.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namepython3.12-3.12.3-2.fc41
diffbase-store-results-to/tmp/tmphu_isqtt/python3.12-3.12.3-2.fc41.tar.xz
diffbase-time-created2024-04-22 11:59:53
diffbase-time-finished2024-04-22 12:39:23
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmphu_isqtt/python3.12-3.12.3-2.fc41.tar.xz' '--gcc-analyze' '/tmp/tmphu_isqtt/python3.12-3.12.3-2.fc41.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-209.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namepython3.12-3.12.2-2.fc40
store-results-to/tmp/tmp9jzs0928/python3.12-3.12.2-2.fc40.tar.xz
time-created2024-04-22 11:20:35
time-finished2024-04-22 11:59:23
titleFixed defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp9jzs0928/python3.12-3.12.2-2.fc40.tar.xz' '--gcc-analyze' '/tmp/tmp9jzs0928/python3.12-3.12.2-2.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9