libspatialaudio-3.1-15.20200406gitd926a2e.fc41

List of Defects

Error: CPPCHECK_WARNING: [#def1]
libspatialaudio-3.1-build/libspatialaudio-d926a2ee469a3fefd50a9364fb9ac6fb484c3f70/source/AmbisonicBinauralizer.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def2]
libspatialaudio-3.1-build/libspatialaudio-d926a2ee469a3fefd50a9364fb9ac6fb484c3f70/source/AmbisonicBinauralizer.cpp:101:24: warning[cplusplus.NewDeleteLeaks]: Potential memory leak
#   99|               bool b_found = p_hrtf->get(position.fAzimuth, position.fElevation, pfHRTF);

#  100|               if (!b_found)

#  101|->                 return false;

#  102|   

#  103|               //Scale the HRTFs by the coefficient of the current channel/component


Error: CPPCHECK_WARNING: [#def3]
libspatialaudio-3.1-build/libspatialaudio-d926a2ee469a3fefd50a9364fb9ac6fb484c3f70/source/AmbisonicDecoder.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def4]
libspatialaudio-3.1-build/libspatialaudio-d926a2ee469a3fefd50a9364fb9ac6fb484c3f70/source/AmbisonicShelfFilters.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def5]
libspatialaudio-3.1-build/libspatialaudio-d926a2ee469a3fefd50a9364fb9ac6fb484c3f70/source/AmbisonicSource.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def6]
libspatialaudio-3.1-build/libspatialaudio-d926a2ee469a3fefd50a9364fb9ac6fb484c3f70/source/SpeakersBinauralizer.cpp: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def7]
libspatialaudio-3.1-build/libspatialaudio-d926a2ee469a3fefd50a9364fb9ac6fb484c3f70/source/SpeakersBinauralizer.cpp:81:24: warning[cplusplus.NewDeleteLeaks]: Potential memory leak
#   79|               bool b_found = p_hrtf->get(position.fAzimuth, position.fElevation, pfHRTF);
#   80|               if (!b_found)
#   81|->                 return false;
#   82|   
#   83|               //Accumulate channel/component HRTF

Error: CPPCHECK_WARNING: [#def8]
libspatialaudio-3.1-build/libspatialaudio-d926a2ee469a3fefd50a9364fb9ac6fb484c3f70/source/kiss_fft/kiss_fft.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: GCC_ANALYZER_WARNING (CWE-476): [#def9]
libspatialaudio-3.1-build/libspatialaudio-d926a2ee469a3fefd50a9364fb9ac6fb484c3f70/source/kiss_fft/kiss_fft.c: scope_hint: In function ‘kf_bfly_generic’
libspatialaudio-3.1-build/libspatialaudio-d926a2ee469a3fefd50a9364fb9ac6fb484c3f70/source/kiss_fft/kiss_fft.c:216:25: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘scratch’
libspatialaudio-3.1-build/libspatialaudio-d926a2ee469a3fefd50a9364fb9ac6fb484c3f70/source/kiss_fft/_kiss_fft_guts.h:19: included_from: Included from here.
libspatialaudio-3.1-build/libspatialaudio-d926a2ee469a3fefd50a9364fb9ac6fb484c3f70/source/kiss_fft/kiss_fft.c:16: included_from: Included from here.
libspatialaudio-3.1-build/libspatialaudio-d926a2ee469a3fefd50a9364fb9ac6fb484c3f70/source/kiss_fft/_kiss_fft_guts.h:162:37: note: in expansion of macro ‘KISS_FFT_MALLOC’
libspatialaudio-3.1-build/libspatialaudio-d926a2ee469a3fefd50a9364fb9ac6fb484c3f70/source/kiss_fft/kiss_fft.c:211:45: note: in expansion of macro ‘KISS_FFT_TMP_ALLOC’
#  214|           k=u;
#  215|           for ( q1=0 ; q1<p ; ++q1 ) {
#  216|->             scratch[q1] = Fout[ k  ];
#  217|               C_FIXDIV(scratch[q1],p);
#  218|               k += m;

Error: GCC_ANALYZER_WARNING (CWE-476): [#def10]
libspatialaudio-3.1-build/libspatialaudio-d926a2ee469a3fefd50a9364fb9ac6fb484c3f70/source/kiss_fft/kiss_fft.c: scope_hint: In function ‘kf_work’
libspatialaudio-3.1-build/libspatialaudio-d926a2ee469a3fefd50a9364fb9ac6fb484c3f70/source/kiss_fft/kiss_fft.c:278:19: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘Fout’
libspatialaudio-3.1-build/libspatialaudio-d926a2ee469a3fefd50a9364fb9ac6fb484c3f70/source/kiss_fft/_kiss_fft_guts.h:162:37: note: in expansion of macro ‘KISS_FFT_MALLOC’
libspatialaudio-3.1-build/libspatialaudio-d926a2ee469a3fefd50a9364fb9ac6fb484c3f70/source/kiss_fft/kiss_fft.c:376:48: note: in expansion of macro ‘KISS_FFT_TMP_ALLOC’
#  276|       if (m==1) {
#  277|           do{
#  278|->             *Fout = *f;
#  279|               f += fstride*in_stride;
#  280|           }while(++Fout != Fout_end );

Error: CPPCHECK_WARNING: [#def11]
libspatialaudio-3.1-build/libspatialaudio-d926a2ee469a3fefd50a9364fb9ac6fb484c3f70/source/mit_hrtf_lib.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def12]
libspatialaudio-3.1-build/libspatialaudio-d926a2ee469a3fefd50a9364fb9ac6fb484c3f70/source/mit_hrtf_lib.c:315:25: warning[core.NullDereference]: Array access (from variable 'psLeftTaps') results in a null pointer dereference
#  313|       for(niTap = 0; niTap < nTotalTaps; niTap++)

#  314|       {

#  315|->         psLeft[niTap] = psLeftTaps[niTap];

#  316|           psRight[niTap] = psRightTaps[niTap];

#  317|       }


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-176.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namelibspatialaudio-3.1-15.20200406gitd926a2e.fc41
store-results-to/tmp/tmp5yuzrm97/libspatialaudio-3.1-15.20200406gitd926a2e.fc41.tar.xz
time-created2024-07-03 16:00:08
time-finished2024-07-03 16:01:15
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp5yuzrm97/libspatialaudio-3.1-15.20200406gitd926a2e.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp5yuzrm97/libspatialaudio-3.1-15.20200406gitd926a2e.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9