Wayland capture: validate buffer geometry before pixel copy Reject Memfd buffers where stride exceeds the mapped region to prevent out-of-bounds reads. Cap stream dimensions to prevent integer overflow in frame allocation. Bound cursor bitmap stride to reject oversized values. Bug: chromium:509294495 Change-Id: I524365383d4d68896377b1fe95e465c56e22a699 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/469682 Reviewed-by: Andreas Pehrson <apehrson@mozilla.com> Reviewed-by: Alexander Cooper <alcooper@chromium.org> Commit-Queue: Jan Grulich <grulja@gmail.com> Cr-Commit-Position: refs/heads/main@{#47627}
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 here for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.