commit | eaddb18033d2c40c29a4ff1f28afd54a75c9b901 | [log] [tgz] |
---|---|---|
author | Joachim Reiersen <joachimr@meta.com> | Wed Jul 30 09:30:39 2025 |
committer | WebRTC LUCI CQ <webrtc-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Aug 04 21:24:56 2025 |
tree | 124545ef9227d2e08c3d8ca7296d533812d2f232 | |
parent | d9d9d43d83bb064c1e76710c3cf6113630917d17 [diff] |
Fix ubsan error in EphemeralKeyExchangeCipherGroups::Update In the current code the end iterator of a vector can be passed to the single-argument variant of std::vector::erase, which is not allowed. When removing elements using std::remove_if we need to use the two-arg variant instead. Detected via the EphemeralKeyExchangeCipherGroupsTest.Update test case which triggered a nullptr-with-nonzero-offset ubsan error under OpenSSL. Bug: webrtc:404763475 Change-Id: I9f2a28608c4bc7142783c94c0f931ac91ee43132 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/402643 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Commit-Queue: Joachim Reiersen <joachimr@meta.com> Reviewed-by: Jonas Oreland <jonaso@webrtc.org> Cr-Commit-Position: refs/heads/main@{#45285}
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.