Fix integer overflow in WebRtc_CreateBuffer Added a check to ensure element_count * element_size does not overflow size_t. Subsequent writes to the buffer could result in out-of-bounds heap writes if the multiplication wraps around to a small number. Bug: None Change-Id: I0a37dfdf19fcee8b19765e8aec316d0886876d09 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/456460 Commit-Queue: Fredrik Solenberg <solenberg@webrtc.org> Reviewed-by: Per Ã…hgren <peah@webrtc.org> Cr-Commit-Position: refs/heads/main@{#47164}
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.