dbus-python-1.3.2-7.fc41

List of Defects

Error: CLANG_WARNING: [#def1]
dbus-python-1.3.2-build/dbus-python-1.3.2/dbus_bindings/conn-methods.c:805:13: warning[deadcode.DeadStores]: Value stored to 'ok' is never read
#  803|               memory in libdbus, but tbh we should never get here anyway. */
#  804|               Py_BEGIN_ALLOW_THREADS
#  805|->             ok = dbus_connection_unregister_object_path(self->conn,
#  806|                                                           path_bytes);
#  807|               Py_END_ALLOW_THREADS

Error: COMPILER_WARNING (CWE-477): [#def2]
dbus-python-1.3.2-build/dbus-python-1.3.2/dbus_bindings/conn.c: scope_hint: In function 'DBusPyConnection_ExistingFromDBusConnection'
dbus-python-1.3.2-build/dbus-python-1.3.2/dbus_bindings/conn.c:161:9: warning[-Wdeprecated-declarations]: 'PyWeakref_GetObject' is deprecated
/usr/include/python3.13/Python.h:109: included_from: Included from here.
dbus-python-1.3.2-build/dbus-python-1.3.2/dbus_bindings/dbus_bindings-internal.h:34: included_from: Included from here.
dbus-python-1.3.2-build/dbus-python-1.3.2/dbus_bindings/conn.c:29: included_from: Included from here.
/usr/include/python3.13/weakrefobject.h:30:44: note: declared here
#  159|       if (ref) {
#  160|           DBG("(DBusConnection *)%p has weak reference at %p", conn, ref);
#  161|->         self = PyWeakref_GetObject(ref);   /* still a borrowed ref */
#  162|           if (self && self != Py_None && DBusPyConnection_Check(self)) {
#  163|               DBG("(DBusConnection *)%p has weak reference at %p pointing to %p",

Error: COMPILER_WARNING (CWE-477): [#def3]
dbus-python-1.3.2-build/dbus-python-1.3.2/dbus_bindings/conn.c: scope_hint: In function 'DBusPyConnection_NewConsumingDBusConnection'
dbus-python-1.3.2-build/dbus-python-1.3.2/dbus_bindings/conn.c:201:9: warning[-Wdeprecated-declarations]: 'PyWeakref_GetObject' is deprecated
/usr/include/python3.13/weakrefobject.h:30:44: note: declared here
#  199|       Py_END_ALLOW_THREADS
#  200|       if (ref) {
#  201|->         self = (Connection *)PyWeakref_GetObject(ref);
#  202|           ref = NULL;
#  203|           if (self && (PyObject *)self != Py_None) {

Error: CLANG_WARNING: [#def4]
dbus-python-1.3.2-build/dbus-python-1.3.2/dbus_bindings/message-get-args.c:86:13: warning[deadcode.DeadStores]: Although the value stored to 'type' is used in the enclosing expression, the value is never actually read from 'type'
#   84|   {
#   85|       int ret, type;
#   86|->     while ((type = dbus_message_iter_get_arg_type(iter))
#   87|               != DBUS_TYPE_INVALID) {
#   88|           PyObject *item;

Error: COMPILER_WARNING (CWE-477): [#def5]
dbus-python-1.3.2-build/dbus-python-1.3.2/dbus_bindings/server.c: scope_hint: In function 'DBusPyServer_ExistingFromDBusServer'
dbus-python-1.3.2-build/dbus-python-1.3.2/dbus_bindings/server.c:170:9: warning[-Wdeprecated-declarations]: 'PyWeakref_GetObject' is deprecated
/usr/include/python3.13/Python.h:109: included_from: Included from here.
dbus-python-1.3.2-build/dbus-python-1.3.2/dbus_bindings/dbus_bindings-internal.h:34: included_from: Included from here.
dbus-python-1.3.2-build/dbus-python-1.3.2/dbus_bindings/server.c:30: included_from: Included from here.
/usr/include/python3.13/weakrefobject.h:30:44: note: declared here
#  168|       if (ref) {
#  169|           DBG("(DBusServer *)%p has weak reference at %p", server, ref);
#  170|->         self = PyWeakref_GetObject(ref);   /* still a borrowed ref */
#  171|           if (self && self != Py_None && DBusPyServer_Check(self)) {
#  172|               DBG("(DBusServer *)%p has weak reference at %p pointing to %p",

Error: COMPILER_WARNING (CWE-477): [#def6]
dbus-python-1.3.2-build/dbus-python-1.3.2/dbus_bindings/server.c: scope_hint: In function 'DBusPyServer_NewConsumingDBusServer'
dbus-python-1.3.2-build/dbus-python-1.3.2/dbus_bindings/server.c:265:9: warning[-Wdeprecated-declarations]: 'PyWeakref_GetObject' is deprecated
/usr/include/python3.13/weakrefobject.h:30:44: note: declared here
#  263|       Py_END_ALLOW_THREADS
#  264|       if (ref) {
#  265|->         self = (Server *)PyWeakref_GetObject(ref);
#  266|           ref = NULL;
#  267|           if (self && (PyObject *)self != Py_None) {

Error: CPPCHECK_WARNING: [#def7]
dbus-python-1.3.2-build/dbus-python-1.3.2/subprojects/dbus-gmain/dbus-gmain.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def8]
dbus-python-1.3.2-build/dbus-python-1.3.2/subprojects/dbus-gmain/tests/test-thread-client.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

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-34.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namedbus-python-1.3.2-7.fc41
store-results-to/tmp/tmppgx53pao/dbus-python-1.3.2-7.fc41.tar.xz
time-created2024-07-03 12:22:27
time-finished2024-07-03 12:23:59
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmppgx53pao/dbus-python-1.3.2-7.fc41.tar.xz' '--gcc-analyze' '/tmp/tmppgx53pao/dbus-python-1.3.2-7.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9