Newly introduced findings

List of Findings

Error: COMPILER_WARNING: [#def1]
gdk-pixbuf-2.44.6/gdk-pixbuf/io-xpm.c: scope_hint: In function ‘pixbuf_create_from_xpm’
gdk-pixbuf-2.44.6/gdk-pixbuf/io-xpm.c:454:19: warning[-Wunused-but-set-variable=]: variable ‘xcnt’ set but not used
#  454 |         gint cnt, xcnt, ycnt, wbytes, n;
#      |                   ^~~~
#  452|   {
#  453|   	gint w, h, n_col, cpp, x_hot, y_hot, items;
#  454|-> 	gint cnt, xcnt, ycnt, wbytes, n;
#  455|   	gint is_trans = FALSE;
#  456|   	const gchar *buffer;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2]
gdk-pixbuf-2.44.6/gdk-pixbuf/io-xpm.c:624:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘color’
gdk-pixbuf-2.44.6/gdk-pixbuf/io-xpm.c:677:1: enter_function: entry to ‘gdk_pixbuf__xpm_image_load_xpm_data’
gdk-pixbuf-2.44.6/gdk-pixbuf/io-xpm.c:686:18: call_function: calling ‘pixbuf_create_from_xpm’ from ‘gdk_pixbuf__xpm_image_load_xpm_data’
#  622|   				color = fallbackcolor;
#  623|   
#  624|-> 			*pixtmp++ = color->red >> 8;
#  625|   			*pixtmp++ = color->green >> 8;
#  626|   			*pixtmp++ = color->blue >> 8;

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-171.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-namegdk-pixbuf2-2.44.4-2.fc44
diffbase-store-results-to/tmp/tmpapb5ejw7/gdk-pixbuf2-2.44.4-2.fc44.tar.xz
diffbase-time-created2026-06-01 12:10:14
diffbase-time-finished2026-06-01 12:12:46
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpapb5ejw7/gdk-pixbuf2-2.44.4-2.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpapb5ejw7/gdk-pixbuf2-2.44.4-2.fc44.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-171.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-namegdk-pixbuf2-2.44.6-1.fc45
store-results-to/tmp/tmpqnfhha_8/gdk-pixbuf2-2.44.6-1.fc45.tar.xz
time-created2026-06-01 12:13:26
time-finished2026-06-01 12:15:25
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpqnfhha_8/gdk-pixbuf2-2.44.6-1.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpqnfhha_8/gdk-pixbuf2-2.44.6-1.fc45.src.rpm'
tool-versioncsmock-3.8.5.20260529.133039.g6f3b5c6-1.el9