commit | 9b4aa600e5cf1cf993c7a44471353aa977deccc7 | [log] [tgz] |
---|---|---|
author | Henrik Lundin <henrik.lundin@webrtc.org> | Fri Apr 20 07:07:45 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Apr 20 09:29:10 2018 |
tree | 35f179f25f59204ef1bc76f675b7b7fb2c2ae9e2 | |
parent | e2ae78b381d5a4efe6f8bf424d7192f78feb8a7a [diff] |
Fix ptr overflow warning in filter_ar.c In this code, the problem was that the ptr could sometimes point outside of the allocated arrays, in particular before the array, causing a pointer overflow warning. However, the memory pointed to was never read or written while the pointer was off. With this change, we keep an index instead of a pointer, which avoids warnings for pointer overflow. The index might be negative at times, but the index will not be used to address the arrays while negative. Bug: webrtc:9166 Change-Id: I3a32d8e814660f43be9d4c94889d00ac3f8403a5 Reviewed-on: https://webrtc-review.googlesource.com/71165 Reviewed-by: Artem Titov <titovartem@webrtc.org> Commit-Queue: Henrik Lundin <henrik.lundin@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22951}
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.