commit | d31843e436eebbe006b4d3d4590153921eeb1482 | [log] [tgz] |
---|---|---|
author | Alessio Bazzica <alessiob@webrtc.org> | Fri Apr 06 14:18:21 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Apr 06 14:57:02 2018 |
tree | d922b3aa383c4c2fbf818d1857bc94403ed8c889 | |
parent | a348cfdf043b84a1cef549fecf15edb5f66bd478 [diff] |
rtc::MsanUninitialized to mark a trivially copiable object as uninitialized Setting a default value for a class members prevents memory sanitizer to behave correctly and may confuse the reader. Instead, one should use rtc::MsanUninitialized, which creates an object of a given type and marks its memory as uninitialized. This prevents issues in production (due to uninitialized memory) and allows MemorySantizier to catch invalid access patterns. Bug: webrtc:8762 Change-Id: I74c79caa9c19ea85708e89e24bc5516c4d9d12a1 Reviewed-on: https://webrtc-review.googlesource.com/52342 Commit-Queue: Alessio Bazzica <alessiob@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Alessio Bazzica <alessiob@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22773}
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.