webrtc/modules
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
..
audio_coding Make an energy computation not overflow in iLBC PLC 2018-05-15 13:01:42 +00:00
audio_device Moving iOS Audio Device to sdk. 2018-05-15 10:33:01 +00:00
audio_mixer Remove dependencies on modules:module_api from AudioProcessing. 2018-04-12 22:05:27 +00:00
audio_processing Add RuntimeSettings to CustomProcessing. 2018-05-15 10:03:25 +00:00
bitrate_controller Preparing for task queue in congenstion controller 2018-02-20 12:35:15 +00:00
congestion_controller Adds PacketNumberIndexedQueue for BBR. 2018-05-15 07:09:50 +00:00
desktop_capture [desktopCapture Mac] have latest iosurface before invalidating region 2018-05-07 17:52:08 +00:00
include Moves network control interface to API. 2018-05-09 11:01:36 +00:00
pacing Replacing rtc::TimeDelta with webrtc::TimeDelta. 2018-05-08 13:22:53 +00:00
remote_bitrate_estimator Remove the public_deps to fileutils from test_support. 2018-03-16 09:06:27 +00:00
rtp_rtcp New file api/video/BUILD.gn 2018-05-14 06:57:38 +00:00
utility Force alignment of JVM called functions. 2018-03-23 10:20:55 +00:00
video_capture New file api/video/BUILD.gn 2018-05-14 06:57:38 +00:00
video_coding Rename VideoProcessorIntegrationTest -> VideoCodecTest. 2018-05-15 11:28:21 +00:00
video_processing Prepare for |is_posix| switch in the Fuchsia build 2018-04-05 17:25:39 +00:00
BUILD.gn New file api/video/BUILD.gn 2018-05-14 06:57:38 +00:00
module_common_types_unittest.cc Remove dependencies on modules:module_api from AudioProcessing. 2018-04-12 22:05:27 +00:00
OWNERS Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00