webrtc/modules/audio_coding/codecs
Sam Zackrisson 32c6ae249f Fix fuzzer-found undefined behavior in webrtc_cng
The computation (x-127) << 8 is undefined for x < 127.
This CL replaces the shift with a multiplication: (x-127) * (1 << 8)

Bug: chromium:793201
Change-Id: I38b40bd88300208a0bfbbd8fe144b0a5b51a48ed
Reviewed-on: https://webrtc-review.googlesource.com/31800
Commit-Queue: Sam Zackrisson <saza@webrtc.org>
Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21205}
2017-12-11 12:47:25 +00:00
..
cng Fix fuzzer-found undefined behavior in webrtc_cng 2017-12-11 12:47:25 +00:00
g711 Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
g722 Move some numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 11:21:47 +00:00
ilbc Move some numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 11:21:47 +00:00
isac Move some numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 11:21:47 +00:00
opus Move some numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 11:21:47 +00:00
pcm16b Move some numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 11:21:47 +00:00
red Move some numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 11:21:47 +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.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
builtin_audio_decoder_factory_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
builtin_audio_encoder_factory.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
builtin_audio_encoder_factory_unittest.cc Move some numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 11:21:47 +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