webrtc-audio-processing-1.3-6.fc43
List of Findings
Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
webrtc-audio-processing-1.3/redhat-linux-build/../webrtc/common_audio/vad/webrtc_vad.c:27:3: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘self’
webrtc-audio-processing-1.3/redhat-linux-build/../webrtc/common_audio/vad/webrtc_vad.c:25:31: acquire_memory: this call could return NULL
webrtc-audio-processing-1.3/redhat-linux-build/../webrtc/common_audio/vad/webrtc_vad.c:27:3: danger: ‘self’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
Error: COMPILER_WARNING (CWE-697): [#def2]
webrtc-audio-processing-1.3/webrtc/api/function_view.h:79:17: warning[-Waddress]: the compiler can assume that the address of ‘f’ will never be NULL
webrtc-audio-processing-1.3/webrtc/api/function_view.h:78:20: note: ‘f’ declared here
Error: COMPILER_WARNING: [#def3]
webrtc-audio-processing-1.3/webrtc/api/function_view.h: scope_hint: In member function ‘rtc::FunctionView<float (float)>::FunctionView<float (&)(float), (void*)0>(float (&)(float))’
webrtc-audio-processing-1.3/webrtc/api/function_view.h:79:17: warning[-Wnonnull-compare]: ‘nonnull’ argument ‘f’ compared to NULL
Error: CPPCHECK_WARNING (CWE-190): [#def4]
webrtc-audio-processing-1.3/webrtc/common_audio/signal_processing/levinson_durbin.c:155: error[integerOverflow]: Signed integer underflow for expression 'temp3W32-((int32_t)K_hi*65536)'.
Error: CPPCHECK_WARNING (CWE-457): [#def5]
webrtc-audio-processing-1.3/webrtc/common_audio/vad/vad_core.c:627: warning[uninitvar]: Uninitialized variable: speech_nb
Error: CPPCHECK_WARNING (CWE-476): [#def6]
webrtc-audio-processing-1.3/webrtc/common_audio/vad/webrtc_vad.c:27: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: self
Error: CPPCHECK_WARNING (CWE-476): [#def7]
webrtc-audio-processing-1.3/webrtc/modules/audio_processing/aecm/echo_control_mobile.cc:95: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: aecm
Error: CPPCHECK_WARNING (CWE-476): [#def8]
webrtc-audio-processing-1.3/webrtc/modules/audio_processing/aecm/echo_control_mobile.cc:96: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: aecm
Error: COMPILER_WARNING (CWE-563): [#def9]
webrtc-audio-processing-1.3/webrtc/modules/audio_processing/agc/legacy/digital_agc.cc: scope_hint: In function ‘int32_t webrtc::WebRtcAgc_ComputeDigitalGains(DigitalAgc*, const int16_t* const*, size_t, uint32_t, int16_t, int32_t*)’
webrtc-audio-processing-1.3/webrtc/modules/audio_processing/agc/legacy/digital_agc.cc:297:11: warning[-Wunused-but-set-variable]: variable ‘L2’ set but not used
Error: COMPILER_WARNING (CWE-393): [#def10]
webrtc-audio-processing-1.3/webrtc/modules/audio_processing/agc2/adaptive_mode_level_estimator.cc: scope_hint: In function ‘float webrtc::{anonymous}::GetLevel(const webrtc::VadLevelAnalyzer::Result&, LevelEstimatorType)’
webrtc-audio-processing-1.3/webrtc/modules/audio_processing/agc2/adaptive_mode_level_estimator.cc:45:1: warning[-Wreturn-type]: control reaches end of non-void function
webrtc-audio-processing-1.3/webrtc/modules/audio_processing/agc2/rnn_vad/rnn.h:21: included_from: Included from here.
webrtc-audio-processing-1.3/webrtc/modules/audio_processing/agc2/rnn_vad/rnn.cc:11: included_from: Included from here.
webrtc-audio-processing-1.3/webrtc/api/function_view.h: scope_hint: In instantiation of ‘rtc::FunctionView<RetT(ArgT ...)>::FunctionView(F&&) [with F = float (&)(float); typename std::enable_if<std::is_function<typename std::remove_pointer<typename std::remove_reference<_Up>::type>::type>::value>::type* <anonymous> = 0; RetT = float; ArgT = {float}]’
Error: COMPILER_WARNING (CWE-393): [#def11]
webrtc-audio-processing-1.3/webrtc/modules/audio_processing/audio_processing_impl.cc: scope_hint: In function ‘webrtc::GainControl::Mode webrtc::{anonymous}::Agc1ConfigModeToInterfaceMode(webrtc::AudioProcessing::Config::GainController1::Mode)’
webrtc-audio-processing-1.3/webrtc/modules/audio_processing/audio_processing_impl.cc:117:1: warning[-Wreturn-type]: control reaches end of non-void function
Error: COMPILER_WARNING (CWE-393): [#def12]
webrtc-audio-processing-1.3/webrtc/modules/audio_processing/audio_processing_impl.cc: scope_hint: In lambda function
webrtc-audio-processing-1.3/webrtc/modules/audio_processing/audio_processing_impl.cc:1853:13: warning[-Wreturn-type]: control reaches end of non-void function
Error: COMPILER_WARNING (CWE-393): [#def13]
webrtc-audio-processing-1.3/webrtc/modules/audio_processing/include/audio_processing.cc: scope_hint: In function ‘std::string webrtc::{anonymous}::NoiseSuppressionLevelToString(const webrtc::AudioProcessing::Config::NoiseSuppression::Level&)’
webrtc-audio-processing-1.3/webrtc/modules/audio_processing/include/audio_processing.cc:31:1: warning[-Wreturn-type]: control reaches end of non-void function
Error: COMPILER_WARNING (CWE-393): [#def14]
webrtc-audio-processing-1.3/webrtc/modules/audio_processing/include/audio_processing.cc: scope_hint: In function ‘std::string webrtc::{anonymous}::GainController1ModeToString(const webrtc::AudioProcessing::Config::GainController1::Mode&)’
webrtc-audio-processing-1.3/webrtc/modules/audio_processing/include/audio_processing.cc:43:1: warning[-Wreturn-type]: control reaches end of non-void function
Error: COMPILER_WARNING (CWE-393): [#def15]
webrtc-audio-processing-1.3/webrtc/modules/audio_processing/include/audio_processing.cc: scope_hint: In function ‘std::string webrtc::{anonymous}::GainController2LevelEstimatorToString(const webrtc::AudioProcessing::Config::GainController2::LevelEstimator&)’
webrtc-audio-processing-1.3/webrtc/modules/audio_processing/include/audio_processing.cc:53:1: warning[-Wreturn-type]: control reaches end of non-void function
Error: COMPILER_WARNING: [#def16]
webrtc-audio-processing-1.3/webrtc/modules/audio_processing/transient/wpd_tree.cc: scope_hint: In member function ‘__ct_base ’
webrtc-audio-processing-1.3/webrtc/modules/audio_processing/transient/wpd_tree.cc:34:59: warning[-Walloc-size-larger-than=]: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807
/usr/include/c++/15/new:140:26: note: in a call to allocation function ‘operator new []’ declared here
Error: COMPILER_WARNING (CWE-563): [#def17]
webrtc-audio-processing-1.3/webrtc/third_party/pffft/src/pffft.c:218:30: warning[-Wunused-but-set-variable]: variable ‘t’ set but not used
Error: COMPILER_WARNING (CWE-563): [#def18]
webrtc-audio-processing-1.3/webrtc/third_party/pffft/src/pffft.c: scope_hint: In function ‘validate_pffft_simd’
webrtc-audio-processing-1.3/webrtc/third_party/pffft/src/pffft.c:218:33: warning[-Wunused-but-set-variable]: variable ‘u’ set but not used
Error: CPPCHECK_WARNING (CWE-476): [#def19]
webrtc-audio-processing-1.3/webrtc/third_party/pffft/src/pffft.c:1212: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Error: CPPCHECK_WARNING (CWE-476): [#def20]
webrtc-audio-processing-1.3/webrtc/third_party/pffft/src/pffft.c:1213: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Error: CPPCHECK_WARNING (CWE-476): [#def21]
webrtc-audio-processing-1.3/webrtc/third_party/pffft/src/pffft.c:1215: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Error: CPPCHECK_WARNING (CWE-476): [#def22]
webrtc-audio-processing-1.3/webrtc/third_party/pffft/src/pffft.c:1216: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Error: CPPCHECK_WARNING (CWE-476): [#def23]
webrtc-audio-processing-1.3/webrtc/third_party/pffft/src/pffft.c:1217: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Error: CPPCHECK_WARNING (CWE-476): [#def24]
webrtc-audio-processing-1.3/webrtc/third_party/pffft/src/pffft.c:1218: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Error: CPPCHECK_WARNING (CWE-476): [#def25]
webrtc-audio-processing-1.3/webrtc/third_party/pffft/src/pffft.c:1221: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Error: CPPCHECK_WARNING (CWE-476): [#def26]
webrtc-audio-processing-1.3/webrtc/third_party/pffft/src/pffft.c:1232: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Error: CPPCHECK_WARNING (CWE-476): [#def27]
webrtc-audio-processing-1.3/webrtc/third_party/pffft/src/pffft.c:1245: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: s
Scan Properties
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-50.us-west-2.compute.internal |
known-false-positives | /usr/share/csmock/known-false-positives.js |
known-false-positives-rpm | known-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | webrtc-audio-processing-1.3-6.fc43 |
store-results-to | /tmp/tmpxl0avamy/webrtc-audio-processing-1.3-6.fc43.tar.xz |
time-created | 2025-04-25 16:11:24 |
time-finished | 2025-04-25 16:13:22 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpxl0avamy/webrtc-audio-processing-1.3-6.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpxl0avamy/webrtc-audio-processing-1.3-6.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |