libproxy-0.5.12-2.fc44

List of Findings

Error: COMPILER_WARNING (CWE-9001): [#def1]
libproxy-0.5.12/src/backend/px-manager.c: scope_hint: In function ‘px_manager_pac_download’
libproxy-0.5.12/src/backend/px-manager.c:402:7: warning[-Wattribute-warning]: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument
#  402 |   if (curl_easy_setopt (self->curl, CURLOPT_NOSIGNAL, 1) != CURLE_OK)
#      |       ^
#  400|       url += 4;
#  401|   
#  402|->   if (curl_easy_setopt (self->curl, CURLOPT_NOSIGNAL, 1) != CURLE_OK)
#  403|       g_debug ("Could not set NOSIGNAL, continue");
#  404|   

Error: COMPILER_WARNING (CWE-9001): [#def2]
libproxy-0.5.12/src/backend/px-manager.c:405:7: warning[-Wattribute-warning]: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument
#  405 |   if (curl_easy_setopt (self->curl, CURLOPT_FOLLOWLOCATION, 1) != CURLE_OK)
#      |       ^
#  403|       g_debug ("Could not set NOSIGNAL, continue");
#  404|   
#  405|->   if (curl_easy_setopt (self->curl, CURLOPT_FOLLOWLOCATION, 1) != CURLE_OK)
#  406|       g_debug ("Could not set FOLLOWLOCATION, continue");
#  407|   

Error: COMPILER_WARNING (CWE-9001): [#def3]
libproxy-0.5.12/src/backend/px-manager.c:413:7: warning[-Wattribute-warning]: call to ‘Wcurl_easy_setopt_err_long’ declared with attribute warning: curl_easy_setopt expects a long argument
#  413 |   if (curl_easy_setopt (self->curl, CURLOPT_CONNECTTIMEOUT, 30) != CURLE_OK)
#      |       ^
#  411|     }
#  412|   
#  413|->   if (curl_easy_setopt (self->curl, CURLOPT_CONNECTTIMEOUT, 30) != CURLE_OK)
#  414|       g_debug ("Could not set CONENCTIONTIMEOUT, continue");
#  415|   

Scan Properties

analyzer-version-clippy1.97.1
analyzer-version-cppcheck2.21.1
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-135.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-namelibproxy-0.5.12-2.fc44
store-results-to/tmp/tmpm_tgfdhq/libproxy-0.5.12-2.fc44.tar.xz
time-created2026-08-03 17:42:14
time-finished2026-08-03 17:44:39
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpm_tgfdhq/libproxy-0.5.12-2.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpm_tgfdhq/libproxy-0.5.12-2.fc44.src.rpm'
tool-versioncsmock-3.8.7.20260803.142340.gb75b18e-1.el9