| commit | 40f1d32fc4d00f49cdd680bf51041b4bbcad6de4 | [log] [tgz] |
|---|---|---|
| author | Johannes Kron <kron@webrtc.org> | Fri Oct 31 11:21:40 2025 |
| committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Oct 31 17:54:27 2025 |
| tree | 9be5dd2742c95fdace755408e638baa8a5dda9c3 | |
| parent | 985b42e18b053d11648ebe3b1710b3fe8f4505be [diff] |
Reject VP9 frames with invalid spatial or temporal indices The RtpVp9RefFinder did not immediately reject frames with temporal or spatial indices that exceeded the maximum supported values. This allowed frames with invalid layer information to undergo initial processing before being marked for dropping. Add a check at the beginning of the `Manage` method to return early if the temporal index is `>= kMaxTemporalLayers` or the spatial index is `>= kMaxSpatialLayers`. This ensures that invalid frames are discarded before any processing occurs. This patch also corrects a bug in the debug assertion within `EncodedImage::SetTemporalIndex` to ensure it validates the new incoming value instead of the old stored one. Fixed: chromium:373928748 Change-Id: I15a1ce676f060b89516952b776be6416300d8a8d Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/422062 Reviewed-by: Erik Språng <sprang@webrtc.org> Commit-Queue: Johannes Kron <kron@webrtc.org> Cr-Commit-Position: refs/heads/main@{#46083}
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.