python-psutil-7.2.2-4.fc45

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-124): [#def1]
psutil-release-7.2.2/psutil/arch/posix/net.c:116:9: warning[-Wanalyzer-out-of-bounds]: stack-based buffer underwrite
psutil-release-7.2.2/psutil/arch/posix/net.c:131:1: enter_function: entry to ‘psutil_net_if_addrs’
psutil-release-7.2.2/psutil/arch/posix/net.c:142:8: branch_false: following ‘false’ branch...
psutil-release-7.2.2/psutil/arch/posix/net.c:144:9: branch_false: ...to here
psutil-release-7.2.2/psutil/arch/posix/net.c:144:8: branch_false: following ‘false’ branch...
psutil-release-7.2.2/psutil/arch/posix/net.c:149:10: branch_false: ...to here
psutil-release-7.2.2/psutil/arch/posix/net.c:149:24: branch_true: following ‘true’ branch (when ‘ifa’ is non-NULL)...
psutil-release-7.2.2/psutil/arch/posix/net.c:150:14: branch_true: ...to here
psutil-release-7.2.2/psutil/arch/posix/net.c:153:22: call_function: calling ‘psutil_convert_ipaddr’ from ‘psutil_net_if_addrs’
psutil-release-7.2.2/psutil/arch/posix/net.c:153:22: return_function: returning to ‘psutil_net_if_addrs’ from ‘psutil_convert_ipaddr’
psutil-release-7.2.2/psutil/arch/posix/net.c:158:12: branch_false: following ‘false’ branch...
psutil-release-7.2.2/psutil/arch/posix/net.c:160:22: branch_false: ...to here
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
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