Fix for out-of-bounds write in square test frame generator. The length is set on construction and includes an assumption on the image resolution, if the resolution changes, a square might be larger than what fits into the buffer, causing an out of bounds write. This CL fixes this simply by restricting the size of the square. Bug: webrtc:11415 Change-Id: Iee14a1971997b4ae2fddef0a7af7c76a2509e879 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/170042 Commit-Queue: Sebastian Jansson <srte@webrtc.org> Reviewed-by: Ali Tofigh <alito@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30732}
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.