Error: COMPILER_WARNING (CWE-477): [#def1] dbus-python-1.3.2/dbus_bindings/conn.c: scope_hint: In function 'DBusPyConnection_ExistingFromDBusConnection' dbus-python-1.3.2/dbus_bindings/conn.c:161:9: warning[-Wdeprecated-declarations]: 'PyWeakref_GetObject' is deprecated # 161 | self = PyWeakref_GetObject(ref); /* still a borrowed ref */ # | ^~~~ /usr/include/python3.13/Python.h:113: included_from: Included from here. dbus-python-1.3.2/dbus_bindings/dbus_bindings-internal.h:34: included_from: Included from here. 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 # 30 | Py_DEPRECATED(3.13) PyAPI_FUNC(PyObject *) PyWeakref_GetObject(PyObject *ref); # | ^~~~~~~~~~~~~~~~~~~ # 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): [#def2] dbus-python-1.3.2/dbus_bindings/conn.c:161:9: warning[-Wdeprecated-declarations]: 'PyWeakref_GetObject' is deprecated # 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/dbus_bindings/conn.c: scope_hint: In function 'DBusPyConnection_NewConsumingDBusConnection' dbus-python-1.3.2/dbus_bindings/conn.c:201:9: warning[-Wdeprecated-declarations]: 'PyWeakref_GetObject' is deprecated # 201 | self = (Connection *)PyWeakref_GetObject(ref); # | ^~~~ /usr/include/python3.13/weakrefobject.h:30:44: note: declared here # 30 | Py_DEPRECATED(3.13) PyAPI_FUNC(PyObject *) PyWeakref_GetObject(PyObject *ref); # | ^~~~~~~~~~~~~~~~~~~ # 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: COMPILER_WARNING (CWE-477): [#def4] dbus-python-1.3.2/dbus_bindings/conn.c:201:9: warning[-Wdeprecated-declarations]: 'PyWeakref_GetObject' is deprecated # 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: COMPILER_WARNING (CWE-477): [#def5] dbus-python-1.3.2/dbus_bindings/server.c: scope_hint: In function 'DBusPyServer_ExistingFromDBusServer' dbus-python-1.3.2/dbus_bindings/server.c:170:9: warning[-Wdeprecated-declarations]: 'PyWeakref_GetObject' is deprecated # 170 | self = PyWeakref_GetObject(ref); /* still a borrowed ref */ # | ^~~~ /usr/include/python3.13/Python.h:113: included_from: Included from here. dbus-python-1.3.2/dbus_bindings/dbus_bindings-internal.h:34: included_from: Included from here. 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 # 30 | Py_DEPRECATED(3.13) PyAPI_FUNC(PyObject *) PyWeakref_GetObject(PyObject *ref); # | ^~~~~~~~~~~~~~~~~~~ # 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/dbus_bindings/server.c:170:9: warning[-Wdeprecated-declarations]: 'PyWeakref_GetObject' is deprecated # 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): [#def7] dbus-python-1.3.2/dbus_bindings/server.c: scope_hint: In function 'DBusPyServer_NewConsumingDBusServer' dbus-python-1.3.2/dbus_bindings/server.c:265:9: warning[-Wdeprecated-declarations]: 'PyWeakref_GetObject' is deprecated # 265 | self = (Server *)PyWeakref_GetObject(ref); # | ^~~~ /usr/include/python3.13/weakrefobject.h:30:44: note: declared here # 30 | Py_DEPRECATED(3.13) PyAPI_FUNC(PyObject *) PyWeakref_GetObject(PyObject *ref); # | ^~~~~~~~~~~~~~~~~~~ # 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: COMPILER_WARNING (CWE-477): [#def8] dbus-python-1.3.2/dbus_bindings/server.c:265:9: warning[-Wdeprecated-declarations]: 'PyWeakref_GetObject' is deprecated # 263| Py_END_ALLOW_THREADS # 264| if (ref) { # 265|-> self = (Server *)PyWeakref_GetObject(ref); # 266| ref = NULL; # 267| if (self && (PyObject *)self != Py_None) {
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
diffbase-analyzer-version-clippy | 1.86.0 |
diffbase-analyzer-version-cppcheck | 2.17.1 |
diffbase-analyzer-version-gcc | 15.0.1 |
diffbase-analyzer-version-gcc-analyzer | 15.0.1 |
diffbase-analyzer-version-shellcheck | 0.10.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-8.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.20250425.124705.g1c7c448.main-1.el9.noarch |
diffbase-mock-config | fedora-rawhide-x86_64 |
diffbase-project-name | dbus-python-1.4.0-1.fc43 |
diffbase-store-results-to | /tmp/tmp5gr693k0/dbus-python-1.4.0-1.fc43.tar.xz |
diffbase-time-created | 2025-04-25 12:31:21 |
diffbase-time-finished | 2025-04-25 12:32:41 |
diffbase-tool | csmock |
diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmp5gr693k0/dbus-python-1.4.0-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp5gr693k0/dbus-python-1.4.0-1.fc43.src.rpm' |
diffbase-tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-8.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.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | dbus-python-1.3.2-9.fc42 |
store-results-to | /tmp/tmp2b5g2e8r/dbus-python-1.3.2-9.fc42.tar.xz |
time-created | 2025-04-25 12:28:36 |
time-finished | 2025-04-25 12:30:55 |
title | Fixed findings |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmp2b5g2e8r/dbus-python-1.3.2-9.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp2b5g2e8r/dbus-python-1.3.2-9.fc42.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |