Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1]
mutter-47.1-build/mutter-47.1/src/backends/native/meta-drm-buffer.c: scope_hint: In function ‘meta_drm_buffer_do_ensure_fb_id’
mutter-47.1-build/mutter-47.1/src/backends/native/meta-drm-buffer.c:154:11: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘depth’
#  152|           }
#  153|   
#  154|->       if (drmModeAddFB (fd,
#  155|                           fb_args->width,
#  156|                           fb_args->height,

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2]
mutter-47.1-build/mutter-47.1/src/backends/native/meta-renderer-native.c: scope_hint: In function ‘meta_renderer_native_create_dma_buf_framebuffer’
mutter-47.1-build/mutter-47.1/src/backends/native/meta-renderer-native.c:663:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
#  661|     CoglContext *cogl_context =
#  662|       cogl_context_from_renderer_native (renderer_native);
#  663|->   CoglDisplay *cogl_display = cogl_context->display;
#  664|     CoglRenderer *cogl_renderer = cogl_display->renderer;
#  665|     CoglRendererEGL *cogl_renderer_egl = cogl_renderer->winsys;

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-75.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-gcc-latest-x86_64
diffbase-project-namemutter-47.0-2.fc41
diffbase-store-results-to/tmp/tmptxtp5rii/mutter-47.0-2.fc41.tar.xz
diffbase-time-created2024-11-13 02:03:53
diffbase-time-finished2024-11-13 02:26:50
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmptxtp5rii/mutter-47.0-2.fc41.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmptxtp5rii/mutter-47.0-2.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-75.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namemutter-47.1-2.fc42
store-results-to/tmp/tmpmg7z5521/mutter-47.1-2.fc42.tar.xz
time-created2024-11-13 02:27:13
time-finished2024-11-13 02:49:49
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpmg7z5521/mutter-47.1-2.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpmg7z5521/mutter-47.1-2.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9