commit | 5b32f238f3a20d00122b2335d9cf7faa9d29c2dd | [log] [tgz] |
---|---|---|
author | Joachim Bauch <jbauch@webrtc.org> | Wed Mar 07 20:02:26 2018 +0100 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Mar 07 22:06:20 2018 +0000 |
tree | c095ab3138dc3a4339f55aae2e3b4a1c3a4c364b | |
parent | fdd5eae9f451ec4342486d5f65acd679af4e8713 [diff] |
Securely clear memory containing key information / passwords before freeing. The previously used "memset(ptr, 0, size)" can get optimized away by compilers if "ptr" is not used afterwards. A new class "ZeroOnFreeBuffer" is introduced that can hold sensitive data and that automatically clears underlying memory when it's no longer used. Bug: webrtc:8806, webrtc:8897, webrtc:8905 Change-Id: Iedddddf80790f9af0addaab3346ec5bff102917d Reviewed-on: https://webrtc-review.googlesource.com/41941 Commit-Queue: Joachim Bauch <jbauch@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22334}
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.