pycairo-1.28.0-4.fc44

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1]
pycairo-1.28.0/cairo/font.c:442:20: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘num_clusters’
pycairo-1.28.0/cairo/font.c:402:6: branch_false: following ‘false’ branch...
pycairo-1.28.0/cairo/font.c:407:3: branch_false: ...to here
pycairo-1.28.0/cairo/font.c:408:12: branch_false: following ‘false’ branch...
 branch_false: ...to here
pycairo-1.28.0/cairo/font.c:408:12: branch_false: following ‘false’ branch...
 branch_false: ...to here
pycairo-1.28.0/cairo/font.c:408:12: branch_false: following ‘false’ branch...
 branch_false: ...to here
pycairo-1.28.0/cairo/font.c:419:3: branch_false: following ‘false’ branch...
pycairo-1.28.0/cairo/font.c:421:16: branch_false: ...to here
pycairo-1.28.0/cairo/font.c:422:6: branch_false: following ‘false’ branch...
 branch_false: ...to here
pycairo-1.28.0/cairo/font.c:441:6: branch_true: following ‘true’ branch...
pycairo-1.28.0/cairo/font.c:442:20: branch_true: ...to here
pycairo-1.28.0/cairo/font.c:442:20: danger: use of uninitialized value ‘num_clusters’ here
#  440|   
#  441|     if (with_clusters) {
#  442|->     cluster_list = PyList_New (num_clusters);
#  443|       if (cluster_list == NULL)
#  444|         goto error;

Scan Properties

analyzer-version-clippy1.90.0
analyzer-version-cppcheck2.18.3
analyzer-version-gcc15.2.1
analyzer-version-gcc-analyzer16.0.0
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.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-gcc-latest-x86_64
project-namepycairo-1.28.0-4.fc44
store-results-to/tmp/tmpn9wjwj5j/pycairo-1.28.0-4.fc44.tar.xz
time-created2025-10-28 19:48:38
time-finished2025-10-28 19:49:57
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpn9wjwj5j/pycairo-1.28.0-4.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpn9wjwj5j/pycairo-1.28.0-4.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251027.143044.ge6b947b-1.el9