commit | a72d5832710b4967f61b8878ef5d73cb91c0b0a6 | [log] [tgz] |
---|---|---|
author | Sebastian Jansson <srte@webrtc.org> | Thu Jul 25 07:50:48 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jul 25 10:54:05 2019 |
tree | 236a4addd31fca91d0740e11950f4f196de9ef73 | |
parent | 604e75c4584440b861cb00e97f68e92174f84d4a [diff] |
Fix for potential out of bounds reading in rtcp::RemoteEstimate parser. packet_size() includes the size of padding, this means that the size check might incorrectly not trigger even if the payload is empty. In turn this means that the ReadBigEndian call might read out of bounds memory. Refactored the code to reuse the App parsing code more, eliminating the risk of this particular kind of error. Bug: chromium:987507 Change-Id: Id8f3e292c3d30460d3cdb551f0a45070fdf8f022 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/146716 Reviewed-by: Stefan Holmer <stefan@webrtc.org> Commit-Queue: Sebastian Jansson <srte@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28680}
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.