commit | 32c6ae249fb879d75de119bc63b9a16f9f14bdca | [log] [tgz] |
---|---|---|
author | Sam Zackrisson <saza@webrtc.org> | Mon Dec 11 11:44:25 2017 +0100 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Dec 11 12:47:25 2017 +0000 |
tree | 7a44b4a13632fb9db44c540f4e03cb28b77df381 | |
parent | 655e1967ea0492812a35b60f0ffef6f9224421d1 [diff] |
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}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.