Newly introduced findings

List of Findings

Error: COMPILER_WARNING: [#def1]
gdk-pixbuf-2.44.7/gdk-pixbuf/io-xpm.c: scope_hint: In function ‘pixbuf_create_from_xpm’
gdk-pixbuf-2.44.7/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.7/gdk-pixbuf/io-xpm.c:624:37: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘color’
gdk-pixbuf-2.44.7/gdk-pixbuf/io-xpm.c:677:1: enter_function: entry to ‘gdk_pixbuf__xpm_image_load_xpm_data’
gdk-pixbuf-2.44.7/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.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
diffbase-analyzer-version-clippy1.97.1
diffbase-analyzer-version-cppcheck2.21.1
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/tmpmm4yf8d4/gdk-pixbuf2-2.44.4-2.fc44.tar.xz
diffbase-time-created2026-08-03 14:28:47
diffbase-time-finished2026-08-03 14:31:39
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpmm4yf8d4/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/tmpmm4yf8d4/gdk-pixbuf2-2.44.4-2.fc44.src.rpm'
diffbase-tool-versioncsmock-3.8.7.HEAD-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.7-3.fc45
store-results-to/tmp/tmpz9rdr8kc/gdk-pixbuf2-2.44.7-3.fc45.tar.xz
time-created2026-08-03 14:32:12
time-finished2026-08-03 14:34:12
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpz9rdr8kc/gdk-pixbuf2-2.44.7-3.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpz9rdr8kc/gdk-pixbuf2-2.44.7-3.fc45.src.rpm'
tool-versioncsmock-3.8.7.HEAD-1.el9