webrtc/modules/audio_processing/agc
Sam Zackrisson 46f858a626 Fix fuzzer-found overflow in AGC1
Much like https://bugs.chromium.org/p/chromium/issues/detail?id=855900,
the int32 gain table isn't always small enough for plain multiplication
with an int16.

This appears fixable through regular fixed-point arithmetic (multiply
out[i][n] by integer and fractional part of gain separately), but it's
less readable.

Bug: chromium:858989
Change-Id: Ie5aac25fd0cca4e51858cba69bde06c54a5d31bf
Reviewed-on: https://webrtc-review.googlesource.com/86602
Reviewed-by: Alex Loiko <aleloi@webrtc.org>
Commit-Queue: Sam Zackrisson <saza@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23815}
2018-07-03 09:56:34 +00:00
..
legacy Fix fuzzer-found overflow in AGC1 2018-07-03 09:56:34 +00:00
agc.cc Remove dependencies on modules:module_api from AudioProcessing. 2018-04-12 22:05:27 +00:00
agc.h Streamline error handling and logging in the audio processing module 2018-02-15 15:06:26 +00:00
agc_manager_direct.cc Flags and settings for AGC2 in AgcManagerDirect. 2018-07-02 13:20:39 +00:00
agc_manager_direct.h Flags and settings for AGC2 in AgcManagerDirect. 2018-07-02 13:20:39 +00:00
agc_manager_direct_unittest.cc Streamline error handling and logging in the audio processing module 2018-02-15 15:06:26 +00:00
gain_map_internal.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
loudness_histogram.cc Remove dependencies on modules:module_api from AudioProcessing. 2018-04-12 22:05:27 +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 Reformat the WebRTC code base 2018-06-19 14:00:39 +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