commit | 50686460caad4d13283c550df01690316e7cb934 | [log] [tgz] |
---|---|---|
author | Niels Möller <nisse@webrtc.org> | Tue Mar 26 10:36:02 2019 +0100 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Mar 26 10:14:14 2019 +0000 |
tree | a7d7ea3318f75ab4fc27ca4fd1db9c49466889f3 | |
parent | f2ca8c53419a4f84d264c74bb0de294c6becb9a6 [diff] |
Replace RTPHeader memset with assignment from a fresh object. Since RTPHeader contains std::string members, memset results in undefined behavior, with memory leaks being the best case. Bug: chromium:945598 Change-Id: I5c04e6b2fb08816fc036abfbb6ba7aaf19469687 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/129720 Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27282}
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.