intel-vpl-gpu-rt-25.3.4-1.fc44

List of Findings

Error: COMPILER_WARNING (CWE-252): [#def1]
vpl-gpu-rt-intel-onevpl-25.3.4/_studio/shared/src/mfx_vpp_vaapi.cpp: scope_hint: In member function ‘mfxStatus MfxHwVideoProcessing::VAAPIVideoProcessing::RemoveBufferFromPipe(VABufferID&)’
vpl-gpu-rt-intel-onevpl-25.3.4/_studio/shared/src/mfx_vpp_vaapi.cpp:1949:20: warning[-Wunused-result]: ignoring return value of ‘_FIter std::remove(_FIter, _FIter, const _Tp&) [with _FIter = unsigned int*; _Tp = unsigned int]’, declared with attribute ‘nodiscard’
# 1949 |         std::remove(m_filterBufs, m_filterBufs + m_numFilterBufs, tmp);
#      |         ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/c++/15/algorithm:63: included_from: Included from here.
vpl-gpu-rt-intel-onevpl-25.3.4/_studio/shared/include/mfx_error.h:25: included_from: Included from here.
vpl-gpu-rt-intel-onevpl-25.3.4/_studio/shared/include/mfx_trace.h:36: included_from: Included from here.
vpl-gpu-rt-intel-onevpl-25.3.4/_studio/shared/include/mfx_utils.h:32: included_from: Included from here.
vpl-gpu-rt-intel-onevpl-25.3.4/_studio/shared/include/mfxvideo++int.h:36: included_from: Included from here.
vpl-gpu-rt-intel-onevpl-25.3.4/_studio/shared/include/mfx_common.h:25: included_from: Included from here.
vpl-gpu-rt-intel-onevpl-25.3.4/_studio/shared/src/mfx_vpp_vaapi.cpp:21: included_from: Included from here.
/usr/include/c++/15/bits/stl_algo.h:772:5: note: declared here
#  772 |     remove(_ForwardIterator __first, _ForwardIterator __last,
#      |     ^~~~~~
vpl-gpu-rt-intel-onevpl-25.3.4/_studio/shared/mfx_trace/src/mfx_reflect.cpp: scope_hint: In function ‘DeclareMsdkStructs.constprop’
vpl-gpu-rt-intel-onevpl-25.3.4/_studio/shared/mfx_trace/src/mfx_reflect.cpp:528:10: note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without
#  528 |     void ReflectedTypesCollection::DeclareMsdkStructs()
#      |          ^
# 1947|           MFX_CHECK_STS(sts);
# 1948|   
# 1949|->         std::remove(m_filterBufs, m_filterBufs + m_numFilterBufs, tmp);
# 1950|           m_filterBufs[m_numFilterBufs] = VA_INVALID_ID;
# 1951|           --m_numFilterBufs;

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2]
vpl-gpu-rt-intel-onevpl-25.3.4/contrib/ipp/src/ippmalloc.c:60:5: warning[-Wanalyzer-malloc-leak]: leak of ‘ptr’
vpl-gpu-rt-intel-onevpl-25.3.4/contrib/ipp/src/ippmalloc.c:58:1: enter_function: entry to ‘mfxMalloc’
vpl-gpu-rt-intel-onevpl-25.3.4/contrib/ipp/src/ippmalloc.c:60:5: branch_false: following ‘false’ branch (when ‘length > 0’)...
vpl-gpu-rt-intel-onevpl-25.3.4/contrib/ipp/src/ippmalloc.c:60:5: branch_false: ...to here
vpl-gpu-rt-intel-onevpl-25.3.4/contrib/ipp/src/ippmalloc.c:60:5: acquire_memory: allocated here
vpl-gpu-rt-intel-onevpl-25.3.4/contrib/ipp/src/ippmalloc.c:60:5: branch_true: following ‘true’ branch (when ‘ptr’ is non-NULL)...
vpl-gpu-rt-intel-onevpl-25.3.4/contrib/ipp/src/ippmalloc.c:60:5: call_function: inlined call to ‘IPP_UINT_PTR’ from ‘mfxMalloc’
vpl-gpu-rt-intel-onevpl-25.3.4/contrib/ipp/src/ippmalloc.c:60:5: danger: ‘ptr’ leaks here; was allocated at [(4)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/3)
#   58|   IPPFUN( void*, mfxMalloc, (int length) )
#   59|   {
#   60|->     ALLOC_ALIGNED_AND_RET( void*, Ipp8u, length )
#   61|   }
#   62|   

Error: CPPCHECK_WARNING (CWE-457): [#def3]
vpl-gpu-rt-intel-onevpl-25.3.4/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]
vpl-gpu-rt-intel-onevpl-25.3.4/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]
vpl-gpu-rt-intel-onevpl-25.3.4/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]
vpl-gpu-rt-intel-onevpl-25.3.4/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]
vpl-gpu-rt-intel-onevpl-25.3.4/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.90.0
analyzer-version-cppcheck2.18.3
analyzer-version-gcc15.2.1
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-88.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-gcc-latest-x86_64
project-nameintel-vpl-gpu-rt-25.3.4-1.fc44
store-results-to/tmp/tmpz8uf4r_n/intel-vpl-gpu-rt-25.3.4-1.fc44.tar.xz
time-created2025-10-28 18:21:34
time-finished2025-10-28 18:28:22
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpz8uf4r_n/intel-vpl-gpu-rt-25.3.4-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpz8uf4r_n/intel-vpl-gpu-rt-25.3.4-1.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251027.143044.ge6b947b-1.el9