webrtc/modules/audio_coding/codecs
Sam Zackrisson ae93f0412a Make an energy computation not overflow in iLBC PLC
The current implementation carefully shifts down the energy so as not to overflow.
The fuzzer audio_decoder_ilbc_fuzzer found an integer overflow anyway.
The energy is only used for a threshold check.

This fix stops the energy computation when the threshold is reached, before it can overflow.

Bug: chromium:837922
Change-Id: I45e84d2d271a37e6476b08433a2cbd5a8f6e6f26
Reviewed-on: https://webrtc-review.googlesource.com/76122
Commit-Queue: Sam Zackrisson <saza@webrtc.org>
Reviewed-by: Minyue Li <minyue@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#23242}
2018-05-15 13:01:42 +00:00
..
cng Add explicit cast to void to silence -Wcomma warning 2018-04-09 10:00:09 +00:00
g711 Using fully qualified #include paths in g711 code. 2018-02-01 15:05:44 +00:00
g722 Using fully qualified #include paths in g722 code. 2018-02-01 15:11:25 +00:00
ilbc Make an energy computation not overflow in iLBC PLC 2018-05-15 13:01:42 +00:00
isac Break out the part of the iSAC codec that's used for Voice Activity Detection 2018-05-04 08:53:34 +00:00
opus Replacing rtc::TimeDelta with webrtc::TimeDelta. 2018-05-08 13:22:53 +00:00
pcm16b Using fully qualified #include paths in pcm16b code. 2018-02-02 14:15:36 +00:00
red Removed Die mock from MockAudioEncoder 2018-02-22 12:53:38 +00:00
tools Stop using std::tr1 2017-10-23 22:11:58 +00:00
audio_decoder.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
audio_encoder.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
audio_format_conversion.cc Move some numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 11:21:47 +00:00
audio_format_conversion.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
builtin_audio_decoder_factory_unittest.cc Tests: Pass codec ID argument to audio codecs 2018-03-12 13:25:29 +00:00
builtin_audio_encoder_factory_unittest.cc Tests: Pass codec ID argument to audio codecs 2018-03-12 13:25:29 +00:00
legacy_encoded_audio_frame.cc Optional: Use nullopt and implicit construction in /modules/audio_coding 2017-11-17 11:58:37 +00:00
legacy_encoded_audio_frame.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
legacy_encoded_audio_frame_unittest.cc Move some numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 11:21:47 +00:00
OWNERS Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00