Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkglcontext.c: scope_hint: In function ‘gdk_gl_context_import_dmabuf’
gtk4-4.17.0-build/gtk-4.17.0/gdk/gdkglcontext.c:2218:7: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
# 2216|     gdk_dmabuf_egl_init (display);
# 2217|   
# 2218|->   if (gdk_dmabuf_formats_contains (display->egl_internal_formats, dmabuf->fourcc, dmabuf->modifier))
# 2219|       {
# 2220|         texture_id = gdk_gl_context_import_dmabuf_for_target (self,

Error: GCC_ANALYZER_WARNING (CWE-457): [#def2]
gtk4-4.17.0-build/gtk-4.17.0/gdk/wayland/cursor/xcursor.c: scope_hint: In function ‘_XcursorFindBestSize’
gtk4-4.17.0-build/gtk-4.17.0/gdk/wayland/cursor/xcursor.c:402:32: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>.type’
gtk4-4.17.0-build/gtk-4.17.0/gdk/wayland/cursor/xcursor.c: scope_hint: In function ‘_XcursorFindBestSize’
/usr/include/string.h:33: included_from: Included from here.
gtk4-4.17.0-build/gtk-4.17.0/gdk/wayland/cursor/xcursor.c:29: included_from: Included from here.
#  400|       for (n = 0; n < fileHeader->ntoc; n++)
#  401|       {
#  402|-> 	if (fileHeader->tocs[n].type != XCURSOR_IMAGE_TYPE)
#  403|   	    continue;
#  404|   	thisSize = fileHeader->tocs[n].subtype;

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.82.0
diffbase-analyzer-version-cppcheck2.16.0
diffbase-analyzer-version-gcc14.2.1
diffbase-analyzer-version-gcc-analyzer15.0.0
diffbase-analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-19.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-gcc-latest-x86_64
diffbase-project-namegtk4-4.16.3-1.fc41
diffbase-store-results-to/tmp/tmpw5f9i3mb/gtk4-4.16.3-1.fc41.tar.xz
diffbase-time-created2024-11-13 00:08:02
diffbase-time-finished2024-11-13 00:33:58
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpw5f9i3mb/gtk4-4.16.3-1.fc41.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpw5f9i3mb/gtk4-4.16.3-1.fc41.src.rpm'
diffbase-tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-19.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namegtk4-4.17.0-1.fc42
store-results-to/tmp/tmp564nfykc/gtk4-4.17.0-1.fc42.tar.xz
time-created2024-11-13 00:34:30
time-finished2024-11-13 00:59:16
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp564nfykc/gtk4-4.17.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp564nfykc/gtk4-4.17.0-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9