Replace rtc::CryptString with std::string
CryptString is intended for secret data, such as passwords, and the memory is cleared on deallocation. However, where it is used in libjingle_xmpp, the password is copied to other objects without any magic clearing, so the security benefit is questionable. In addition, CryptString is yet another string class, it's unused within webrtc, and essentially unmaintained. If we can replace its use in Chrome, it will be deleted. BUG=webrtc:6424 Review-Url: https://codereview.chromium.org/2738973004 Cr-Commit-Position: refs/heads/master@{#456021}
Showing
Please register or sign in to comment