[Password Check] Gracefully Handle Cipher Failures
This change handles failures in ECCommutativeCipher::CreateFromKey and ECCommutativeCipher::CreateWithNewKey more gracefully by returning an empty string from the password manager's encryption utils in the case of errors. While rare, errors can happen, currently resulting in browser crashes. All callers already inspect the returned value and return early if it is the empty string. Fixed: 1157004 Change-Id: If78851906529b20173a455b5861d98f0bcaf048c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2640054Reviewed-by:Friedrich [CET] <fhorschig@chromium.org> Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org> Cr-Commit-Position: refs/heads/master@{#845179}
Showing
Please register or sign in to comment