Newly introduced findings

List of Findings

Error: COMPILER_WARNING (CWE-1164): [#def1]
fdk-aac-2.0.3/libAACdec/src/aacdecoder_lib.cpp:330:12: warning[-Wunused-function]: 'INT aacDecoder_SscCallback(void*, HANDLE_FDK_BITSTREAM, AUDIO_OBJECT_TYPE, INT, INT, INT, INT, INT, INT, UCHAR, UCHAR*)' defined but not used
#  330 | static INT aacDecoder_SscCallback(
#      |            ^~~~~~~~~~~~~~~~~~~~~~
#  328|   }
#  329|   
#  330|-> static INT aacDecoder_SscCallback(
#  331|       void *handle, HANDLE_FDK_BITSTREAM hBs, const AUDIO_OBJECT_TYPE coreCodec,
#  332|       const INT samplingRate, const INT frameSize, const INT numChannels,

Error: COMPILER_WARNING (CWE-563): [#def2]
fdk-aac-2.0.3/libAACdec/src/aacdecoder_lib.cpp: scope_hint: In function 'AAC_DECODER_ERROR aacDecoder_DecodeFrame(HANDLE_AACDECODER, INT_PCM*, INT, UINT)'
fdk-aac-2.0.3/libAACdec/src/aacdecoder_lib.cpp:976:7: warning[-Wunused-but-set-variable]: variable 'timeData3Size' set but not used
#  976 |   INT timeData3Size;
#      |       ^~~~~~~~~~~~~
#  974|     INT nBits;
#  975|     INT timeData2Size;
#  976|->   INT timeData3Size;
#  977|     INT timeDataHeadroom;
#  978|     HANDLE_FDK_BITSTREAM hBs;

Error: COMPILER_WARNING (CWE-563): [#def3]
fdk-aac-2.0.3/libMpegTPDec/src/tpdec_asc.cpp: scope_hint: In function 'TRANSPORTDEC_ERROR EldSpecificConfig_Parse(CSAudioSpecificConfig*, HANDLE_FDK_BITSTREAM, CSTpCallBacks*)'
fdk-aac-2.0.3/libMpegTPDec/src/tpdec_asc.cpp:1455:28: warning[-Wunused-variable]: unused variable 'sbrIndex'
# 1455 |                            sbrIndex, eldExtCnt = 0;
#      |                            ^~~~~~~~
# 1453|     UINT eldExtType;
# 1454|     int eldExtLen, len, cnt, ldSbrLen = 0, eldExtLenSum, numSbrHeader = 0,
# 1455|->                            sbrIndex, eldExtCnt = 0;
# 1456|   
# 1457|     unsigned char downscale_fill_nibble;

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
diffbase-analyzer-version-clippy1.90.0
diffbase-analyzer-version-cppcheck2.18.3
diffbase-analyzer-version-gcc15.2.1
diffbase-analyzer-version-gcc-analyzer16.0.0
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-153.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-gcc-latest-x86_64
diffbase-project-namefdk-aac-free-2.0.0-16.fc43
diffbase-store-results-to/tmp/tmpeqbjo8hn/fdk-aac-free-2.0.0-16.fc43.tar.xz
diffbase-time-created2025-10-28 17:47:34
diffbase-time-finished2025-10-28 17:50:04
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpeqbjo8hn/fdk-aac-free-2.0.0-16.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpeqbjo8hn/fdk-aac-free-2.0.0-16.fc43.src.rpm'
diffbase-tool-versioncsmock-3.8.3.20251027.143044.ge6b947b-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-153.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-namefdk-aac-free-2.0.3-1.fc44
store-results-to/tmp/tmpf2d6tt39/fdk-aac-free-2.0.3-1.fc44.tar.xz
time-created2025-10-28 17:50:24
time-finished2025-10-28 17:52:25
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpf2d6tt39/fdk-aac-free-2.0.3-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/tmpf2d6tt39/fdk-aac-free-2.0.3-1.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251027.143044.ge6b947b-1.el9