webrtc/modules/audio_processing/agc/legacy
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
..
analog_agc.c Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
analog_agc.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
digital_agc.c Fix fuzzer-found overflow in AGC1 2018-07-03 09:56:34 +00:00
digital_agc.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
gain_control.h Fixing -Wstrict-prototypes warnings. 2018-03-19 16:57:21 +00:00