Error: CPPCHECK_WARNING (CWE-476): [#def1] Python-3.12.3/Include/object.h:233: warning[nullPointer]: Possible null pointer dereference: (struct PyVarObject*)(ob) # 231| assert(ob->ob_type != &PyLong_Type); # 232| assert(ob->ob_type != &PyBool_Type); # 233|-> return _PyVarObject_CAST(ob)->ob_size; # 234| } # 235| #if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000 Error: GCC_ANALYZER_WARNING (CWE-476): [#def2] Python-3.12.3/Modules/_ssl.c: scope_hint: In function ‘newPySSLSocket’ Python-3.12.3/Modules/_ssl.c:847:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘inbio’ # 845| * To prevent a double free in memory_bio_dealloc() we need to take an # 846| * extra reference here. */ # 847|-> BIO_up_ref(inbio->bio); # 848| BIO_up_ref(outbio->bio); # 849| SSL_set_bio(self->ssl, inbio->bio, outbio->bio); Error: GCC_ANALYZER_WARNING (CWE-476): [#def3] Python-3.12.3/Objects/memoryobject.c: scope_hint: In function ‘init_flags’ Python-3.12.3/Objects/memoryobject.c:239:19: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘*mv.view.shape’ Python-3.12.3/Objects/memoryobject.c:620:13: note: in expansion of macro ‘MV_CONTIGUOUS_NDIM1’ Python-3.12.3/Objects/memoryobject.c:2553:5: note: in expansion of macro ‘CHECK_RELEASED’ Python-3.12.3/Include/Python.h:44: included_from: Included from here. Python-3.12.3/Objects/memoryobject.c:13: included_from: Included from here. Python-3.12.3/Include/internal/pycore_abstract.h:15:37: note: in expansion of macro ‘Py_TYPE’ Python-3.12.3/Objects/memoryobject.c: scope_hint: In function ‘init_flags’ Python-3.12.3/Objects/memoryobject.c:2580:9: note: in expansion of macro ‘CHECK_RESTRICTED’ Python-3.12.3/Objects/memoryobject.c:2580:9: note: in expansion of macro ‘CHECK_RESTRICTED’ Python-3.12.3/Objects/memoryobject.c:620:13: note: in expansion of macro ‘MV_CONTIGUOUS_NDIM1’ Python-3.12.3/Objects/memoryobject.c:620:13: note: in expansion of macro ‘MV_CONTIGUOUS_NDIM1’ # 237| /* Fast contiguity test. Caller must ensure suboffsets==NULL and ndim==1. */ # 238| #define MV_CONTIGUOUS_NDIM1(view) \ # 239|-> ((view)->shape[0] == 1 || (view)->strides[0] == (view)->itemsize) # 240| # 241| /* getbuffer() requests */
analyzer-version-clang | 18.1.3 |
analyzer-version-cppcheck | 2.13.0 |
analyzer-version-gcc | 14.0.1 |
analyzer-version-gcc-analyzer | 14.0.1 |
analyzer-version-shellcheck | 0.10.0 |
diffbase-analyzer-version-clang | 18.1.3 |
diffbase-analyzer-version-cppcheck | 2.13.0 |
diffbase-analyzer-version-gcc | 14.0.1 |
diffbase-analyzer-version-gcc-analyzer | 14.0.1 |
diffbase-analyzer-version-shellcheck | 0.10.0 |
diffbase-enabled-plugins | clang, cppcheck, gcc, shellcheck |
diffbase-exit-code | 0 |
diffbase-host | ip-172-16-1-209.us-west-2.compute.internal |
diffbase-mock-config | fedora-41-x86_64 |
diffbase-project-name | python3.12-3.12.2-2.fc40 |
diffbase-store-results-to | /tmp/tmp9jzs0928/python3.12-3.12.2-2.fc40.tar.xz |
diffbase-time-created | 2024-04-22 11:20:35 |
diffbase-time-finished | 2024-04-22 11:59:23 |
diffbase-tool | csmock |
diffbase-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' |
diffbase-tool-version | csmock-3.5.3-1.el9 |
enabled-plugins | clang, cppcheck, gcc, shellcheck |
exit-code | 0 |
host | ip-172-16-1-209.us-west-2.compute.internal |
mock-config | fedora-41-x86_64 |
project-name | python3.12-3.12.3-2.fc41 |
store-results-to | /tmp/tmphu_isqtt/python3.12-3.12.3-2.fc41.tar.xz |
time-created | 2024-04-22 11:59:53 |
time-finished | 2024-04-22 12:39:23 |
title | Newly introduced defects |
tool | csmock |
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' |
tool-version | csmock-3.5.3-1.el9 |