libva-2.22.0-2.fc41

List of Defects

Error: CPPCHECK_WARNING: [#def1]
libva-2.22.0-build/libva-2.22.0/va/drm/va_drm_auth_x11.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def2]
libva-2.22.0-build/libva-2.22.0/va/drm/va_drm_utils.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-401): [#def3]
libva-2.22.0-build/libva-2.22.0/va/glx/va_glx.c: scope_hint: In function ‘vaGetDisplayGLX’
libva-2.22.0-build/libva-2.22.0/va/glx/va_glx.c:106:35: warning[-Wanalyzer-malloc-leak]: leak of ‘pDriverContextGLX’
#  104|       pDisplayContext->vaDestroy    = va_DisplayContextDestroy;
#  105|       pDisplayContext->opaque       = pDisplayContextGLX;
#  106|->     pDriverContext->glx           = pDriverContextGLX;
#  107|       return dpy;
#  108|   

Error: CPPCHECK_WARNING: [#def4]
libva-2.22.0-build/libva-2.22.0/va/glx/va_glx_impl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def5]
libva-2.22.0-build/libva-2.22.0/va/va.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def6]
libva-2.22.0-build/libva-2.22.0/va/va_trace.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def7]
libva-2.22.0-build/libva-2.22.0/va/va_trace.c:388:28: warning[deadcode.DeadStores]: Value stored to 'pbuf_info' during its initialization is never read
#  386|   {
#  387|       struct trace_buf_manager *pbuf_mgr = &pva_trace->buf_manager;
#  388|->     struct trace_buf_info *pbuf_info = pbuf_mgr->pbuf_info[0];
#  389|       VAContextID context = VA_INVALID_ID;
#  390|       int i = 0, idx = 0;

Error: CLANG_WARNING: [#def8]
libva-2.22.0-build/libva-2.22.0/va/va_trace.c:573:9: warning[deadcode.DeadStores]: Value stored to 'left' is never read
#  571|   
#  572|           tmp += size;
#  573|->         left -= size;
#  574|       }
#  575|   

Error: CLANG_WARNING: [#def9]
libva-2.22.0-build/libva-2.22.0/va/va_trace.c:7136:9: warning[deadcode.DeadStores]: Value stored to 'write_size' is never read
# 7134|       if (i == num) {
# 7135|           data[1] |= write_size; /* set event data size before write */
# 7136|->         write_size = write(pva_trace->ftrace_fd, data, write_size);
# 7137|       }
# 7138|       return;

Error: CPPCHECK_WARNING: [#def10]
libva-2.22.0-build/libva-2.22.0/va/wayland/va_wayland_drm.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def11]
libva-2.22.0-build/libva-2.22.0/va/wayland/va_wayland_linux_dmabuf.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-401): [#def12]
libva-2.22.0-build/libva-2.22.0/va/x11/dri2_util.c: scope_hint: In function ‘dri2CreateDrawable’
libva-2.22.0-build/libva-2.22.0/va/x11/dri2_util.c:78:12: warning[-Wanalyzer-malloc-leak]: leak of ‘dri2_drawable’
#   76|       VA_DRI2CreateDrawable(ctx->native_dpy, x_drawable);
#   77|   
#   78|->     return &dri2_drawable->base;
#   79|   }
#   80|   

Error: CPPCHECK_WARNING: [#def13]
libva-2.22.0-build/libva-2.22.0/va/x11/va_dri2.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def14]
libva-2.22.0-build/libva-2.22.0/va/x11/va_nvctrl.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-59.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namelibva-2.22.0-2.fc41
store-results-to/tmp/tmpxvb482f2/libva-2.22.0-2.fc41.tar.xz
time-created2024-07-03 16:05:43
time-finished2024-07-03 16:06:52
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpxvb482f2/libva-2.22.0-2.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpxvb482f2/libva-2.22.0-2.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9