intel-vpl-gpu-rt-24.3.3-1.fc42

List of Findings

Error: COMPILER_WARNING: [#def1]
intel-vpl-gpu-rt-24.3.3-build/vpl-gpu-rt-intel-onevpl-24.3.3/_studio/shared/mfx_trace/src/mfx_reflect.cpp: scope_hint: In function ‘DeclareMsdkStructs.constprop’
intel-vpl-gpu-rt-24.3.3-build/vpl-gpu-rt-intel-onevpl-24.3.3/_studio/shared/mfx_trace/src/mfx_reflect.cpp:528: note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without
#  526|       }
#  527|   
#  528|->     void ReflectedTypesCollection::DeclareMsdkStructs()
#  529|       {
#  530|   #define STRUCT(TYPE, FIELDS) {                                  \

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2]
intel-vpl-gpu-rt-24.3.3-build/vpl-gpu-rt-intel-onevpl-24.3.3/contrib/ipp/src/ippmalloc.c: scope_hint: In function ‘mfxMalloc’
intel-vpl-gpu-rt-24.3.3-build/vpl-gpu-rt-intel-onevpl-24.3.3/contrib/ipp/src/ippmalloc.c:40:16: warning[-Wanalyzer-malloc-leak]: leak of ‘ptr’
intel-vpl-gpu-rt-24.3.3-build/vpl-gpu-rt-intel-onevpl-24.3.3/contrib/ipp/src/ippmalloc.c:60:5: note: in expansion of macro ‘ALLOC_ALIGNED_AND_RET’
intel-vpl-gpu-rt-24.3.3-build/vpl-gpu-rt-intel-onevpl-24.3.3/contrib/ipp/src/ownj.h:25: included_from: Included from here.
intel-vpl-gpu-rt-24.3.3-build/vpl-gpu-rt-intel-onevpl-24.3.3/contrib/ipp/src/precomp.h:25: included_from: Included from here.
intel-vpl-gpu-rt-24.3.3-build/vpl-gpu-rt-intel-onevpl-24.3.3/contrib/ipp/src/ippmalloc.c:21: included_from: Included from here.
intel-vpl-gpu-rt-24.3.3-build/vpl-gpu-rt-intel-onevpl-24.3.3/contrib/ipp/include/owndefs.h:52:72: note: in definition of macro ‘IPPFUN’
intel-vpl-gpu-rt-24.3.3-build/vpl-gpu-rt-intel-onevpl-24.3.3/contrib/ipp/src/ippmalloc.c:60:5: note: in expansion of macro ‘ALLOC_ALIGNED_AND_RET’
intel-vpl-gpu-rt-24.3.3-build/vpl-gpu-rt-intel-onevpl-24.3.3/contrib/ipp/src/ippmalloc.c:60:5: note: in expansion of macro ‘ALLOC_ALIGNED_AND_RET’
intel-vpl-gpu-rt-24.3.3-build/vpl-gpu-rt-intel-onevpl-24.3.3/contrib/ipp/src/ippmalloc.c:60:5: note: in expansion of macro ‘ALLOC_ALIGNED_AND_RET’
intel-vpl-gpu-rt-24.3.3-build/vpl-gpu-rt-intel-onevpl-24.3.3/contrib/ipp/src/ippmalloc.c:60:5: note: in expansion of macro ‘ALLOC_ALIGNED_AND_RET’
intel-vpl-gpu-rt-24.3.3-build/vpl-gpu-rt-intel-onevpl-24.3.3/contrib/ipp/src/ippmalloc.c:60:5: note: in expansion of macro ‘ALLOC_ALIGNED_AND_RET’
intel-vpl-gpu-rt-24.3.3-build/vpl-gpu-rt-intel-onevpl-24.3.3/contrib/ipp/src/ippmalloc.c:60:5: note: in expansion of macro ‘ALLOC_ALIGNED_AND_RET’
intel-vpl-gpu-rt-24.3.3-build/vpl-gpu-rt-intel-onevpl-24.3.3/contrib/ipp/src/ippmalloc.c: scope_hint: In function ‘mfxMalloc’
intel-vpl-gpu-rt-24.3.3-build/vpl-gpu-rt-intel-onevpl-24.3.3/contrib/ipp/src/ippmalloc.c:60:5: note: in expansion of macro ‘ALLOC_ALIGNED_AND_RET’
#   38|           void **ap = (void**)( (IPP_UINT_PTR(ptr) + IPP_MALLOC_ALIGNED_BYTES +          \
#   39|                                         sizeof(void*) - 1 ) & ALIGNED_MASK );            \
#   40|->         ap[-1] = (void*)ptr;                                                           \
#   41|           return (retType)ap;                                                            \
#   42|       }                                                                                  \

Error: CPPCHECK_WARNING (CWE-457): [#def3]
intel-vpl-gpu-rt-24.3.3-build/vpl-gpu-rt-intel-onevpl-24.3.3/contrib/ipp/src/pjdecdct0w7cn.c:81: error[uninitvar]: Uninitialized variable: ptr
#   79|     __ALIGN16 __m128i _iS0, _iS1, _iS2, _iSA;
#   80|   
#   81|->   buf = (Ipp16s*)IPP_ALIGNED_PTR(&ptr[0],CPU_CACHE_LINE);
#   82|   
#   83|     if((IPP_UINT_PTR(pSrc) || IPP_UINT_PTR(pQuantInvTable)) & 0x0F) {  /* Source or quant table is not 16-byte-aligned */

Error: CPPCHECK_WARNING (CWE-457): [#def4]
intel-vpl-gpu-rt-24.3.3-build/vpl-gpu-rt-intel-onevpl-24.3.3/contrib/ipp/src/pjdecdct0w7cn.c:164: error[uninitvar]: Uninitialized variable: ptr
#  162|     __ALIGN16 __m128i _iS0, _iS1, _iS2, _iSA;
#  163|   
#  164|->   buf = (Ipp16s*)IPP_ALIGNED_PTR(&ptr[0],CPU_CACHE_LINE);
#  165|     if((IPP_UINT_PTR(pSrc) || IPP_UINT_PTR(pQuantInvTable)) & 0x0F) {  /* If pSrc or pQuantInvTable is not aligned on 16 byte */
#  166|       _iS0 = _mm_loadu_si128((__m128i*)(pSrc +  0));

Error: CPPCHECK_WARNING (CWE-457): [#def5]
intel-vpl-gpu-rt-24.3.3-build/vpl-gpu-rt-intel-onevpl-24.3.3/contrib/ipp/src/pjdecdct1w7cn.c:69: error[uninitvar]: Uninitialized variable: buf
#   67|      p4 = (Ipp32s*)(pDst + 3*dstStep);
#   68|   
#   69|->   workbuf = (Ipp16s*)IPP_ALIGNED_PTR(&buf[0],CPU_CACHE_LINE);
#   70|   
#   71|     if(!((intptr_t)pQuantInvTable & 15) && !((intptr_t)pSrc & 15))

Error: CPPCHECK_WARNING (CWE-457): [#def6]
intel-vpl-gpu-rt-24.3.3-build/vpl-gpu-rt-intel-onevpl-24.3.3/contrib/ipp/src/pjdecdct1w7cn.c:198: error[uninitvar]: Uninitialized variable: buf
#  196|     p2 = (Ipp16s*)(pDst + 1*dstStep);
#  197|   
#  198|->   workbuf = (Ipp16s*)IPP_ALIGNED_PTR(&buf[0],CPU_CACHE_LINE);
#  199|   
#  200|     if(!((intptr_t)pQuantInvTable & 15) && !((intptr_t)pSrc & 15))

Error: COMPILER_WARNING: [#def7]
intel-vpl-gpu-rt-24.3.3-build/vpl-gpu-rt-intel-onevpl-24.3.3/redhat-linux-build/mfx_config_trace.cpp:3:39: note: ‘#pragma message: MFX_ENABLE_EXT    ON’
#    1|   #include "mfx_config.h"
#    2|   #ifdef MFX_ENABLE_EXT
#    3|-> #pragma message("MFX_ENABLE_EXT    ON")
#    4|   #else
#    5|   #pragma message("MFX_ENABLE_EXT    OFF")

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
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-169.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-nameintel-vpl-gpu-rt-24.3.3-1.fc42
store-results-to/tmp/tmpz78ap6nh/intel-vpl-gpu-rt-24.3.3-1.fc42.tar.xz
time-created2024-11-13 00:25:50
time-finished2024-11-13 00:31:48
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpz78ap6nh/intel-vpl-gpu-rt-24.3.3-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpz78ap6nh/intel-vpl-gpu-rt-24.3.3-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9