python-psutil-7.2.2-4.fc45 - findings not occurring in python-psutil-7.2.2-4.fc45

List of Findings

Error: COMPILER_WARNING: [#def1]
/usr/include/features.h:319:10: note[note]: this is the location of the previous definition
#  317|   # define _POSIX_SOURCE	1
#  318|   # undef  _POSIX_C_SOURCE
#  319|-> # define _POSIX_C_SOURCE	202405L
#  320|   #endif
#  321|   

Error: COMPILER_WARNING: [#def2]
/usr/include/python3.14/pyconfig-64.h:2011:9: warning[warning]: ‘_POSIX_C_SOURCE’ redefined
# 2009|   
# 2010|   /* Define to activate features from IEEE Stds 1003.1-2008 */
# 2011|-> #define _POSIX_C_SOURCE 200809L
# 2012|   
# 2013|   /* Define if you have POSIX threads, and your system does not define that. */

Error: GCC_ANALYZER_WARNING (CWE-124): [#def3]
python-psutil-7.2.2-build/psutil-release-7.2.2/psutil/arch/posix/net.c:116:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite
python-psutil-7.2.2-build/psutil-release-7.2.2/psutil/arch/posix/net.c:131:1: enter_function: entry to ‘psutil_net_if_addrs’
python-psutil-7.2.2-build/psutil-release-7.2.2/psutil/arch/posix/net.c:142:8: branch_false: following ‘false’ branch...
python-psutil-7.2.2-build/psutil-release-7.2.2/psutil/arch/posix/net.c:144:9: branch_false: ...to here
python-psutil-7.2.2-build/psutil-release-7.2.2/psutil/arch/posix/net.c:144:8: branch_false: following ‘false’ branch...
python-psutil-7.2.2-build/psutil-release-7.2.2/psutil/arch/posix/net.c:149:10: branch_false: ...to here
python-psutil-7.2.2-build/psutil-release-7.2.2/psutil/arch/posix/net.c:149:24: branch_true: following ‘true’ branch (when ‘ifa’ is non-NULL)...
python-psutil-7.2.2-build/psutil-release-7.2.2/psutil/arch/posix/net.c:150:14: branch_true: ...to here
python-psutil-7.2.2-build/psutil-release-7.2.2/psutil/arch/posix/net.c:153:22: call_function: calling ‘psutil_convert_ipaddr’ from ‘psutil_net_if_addrs’
python-psutil-7.2.2-build/psutil-release-7.2.2/psutil/arch/posix/net.c:153:22: return_function: returning to ‘psutil_net_if_addrs’ from ‘psutil_convert_ipaddr’
python-psutil-7.2.2-build/psutil-release-7.2.2/psutil/arch/posix/net.c:158:12: branch_false: following ‘false’ branch...
python-psutil-7.2.2-build/psutil-release-7.2.2/psutil/arch/posix/net.c:160:22: branch_false: ...to here
python-psutil-7.2.2-build/psutil-release-7.2.2/psutil/arch/posix/net.c:160:22: call_function: calling ‘psutil_convert_ipaddr’ from ‘psutil_net_if_addrs’
#  114|               ptr += 3;
#  115|           }
#  116|->         *--ptr = '\0';
#  117|           return Py_BuildValue("s", buf);
#  118|       }

Scan Properties

analyzer-version-clippy1.95.0
analyzer-version-cppcheck2.20.0
analyzer-version-gcc16.1.1
analyzer-version-gcc-analyzer16.1.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.95.0
diffbase-analyzer-version-cppcheck2.20.0
diffbase-analyzer-version-gcc16.1.1
diffbase-analyzer-version-gcc-analyzer16.1.1
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-85.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namepython-psutil-7.2.2-4.fc45
diffbase-store-results-to/tmp/tmp7361gsol/python-psutil-7.2.2-4.fc45.tar.xz
diffbase-time-created2026-06-01 16:15:34
diffbase-time-finished2026-06-01 16:16:47
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmp7361gsol/python-psutil-7.2.2-4.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp7361gsol/python-psutil-7.2.2-4.fc45.src.rpm'
diffbase-tool-versioncsmock-3.8.5.20260529.133039.g6f3b5c6-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-85.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namepython-psutil-7.2.2-4.fc45
store-results-to/tmp/tmp7361gsol/python-psutil-7.2.2-4.fc45.tar.xz
time-created2026-06-01 16:15:34
time-finished2026-06-01 16:16:47
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmp7361gsol/python-psutil-7.2.2-4.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp7361gsol/python-psutil-7.2.2-4.fc45.src.rpm'
tool-versioncsmock-3.8.5.20260529.133039.g6f3b5c6-1.el9