commit | 806706875dac634a974f2ede1c4926a2e549fe47 | [log] [tgz] |
---|---|---|
author | kwiberg <kwiberg@webrtc.org> | Fri Feb 26 10:52:12 2016 |
committer | Commit bot <commit-bot@chromium.org> | Fri Feb 26 10:52:14 2016 |
tree | 83d47eb90ebedb3ae7c3ad59f15f8c8dcacc8e0f | |
parent | db25d2e8c57b14b14111ee6ab4a5cb6372142155 [diff] |
iSAC entropy coder: Avoid signed integer overflow By doing an unsigned instead of a signed addition, we get the exact same machine code (in non-UBSan builds), but no longer trigger undefined behavior since unsigned overflow is defined behavior. BUG=webrtc:5485 Review URL: https://codereview.webrtc.org/1734883003 Cr-Commit-Position: refs/heads/master@{#11776}
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. This page is maintained by the Google Chrome team.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.