webrtc/modules/audio_processing/agc
Alex Loiko c7b18fef19 Shifted value doesn't fit in 'int32_t'.
This CL replaces one 'int32_t' with 'uint32_t'. The value is a
non-negative energy, and the number of leading zeros is
computed. During computation, a shift can cause it to overflow.

Issue was found by the Audio Processing fuzzer.

Bug: chromium:778939, chromium:778921, chromium:778919
Change-Id: I3d7e0b547e6b0edcd9995903517ea851142a08c1
Reviewed-on: https://webrtc-review.googlesource.com/16433
Reviewed-by: Sam Zackrisson <saza@webrtc.org>
Commit-Queue: Alex Loiko <aleloi@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#20470}
2017-10-28 10:22:32 +00:00
..
legacy Shifted value doesn't fit in 'int32_t'. 2017-10-28 10:22:32 +00:00
agc.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
agc.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
agc_manager_direct.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
agc_manager_direct.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
agc_manager_direct_unittest.cc Reland "Reland "Remove WEBRTC_TRACE."" 2017-10-04 14:40:44 +00:00
gain_map_internal.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
loudness_histogram.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
loudness_histogram.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
loudness_histogram_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
mock_agc.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
utility.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
utility.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00