commit | bf840cc6c21c5a5b6e95d120e5493e0a7eb61498 | [log] [tgz] |
---|---|---|
author | gavinp <gavinp@chromium.org> | Wed Jul 27 15:31:08 2016 |
committer | Commit bot <commit-bot@chromium.org> | Wed Jul 27 15:33:26 2016 |
tree | 632ca3e5b1582c803f4bb7e37ec1b1f3ea60ea6f | |
parent | 93a53b3c9b7c6e52090f9fa08de2ef7e278114c0 [diff] |
Simple Cache: validate lengths before allocations. This bug was most unfortunate. A corrupt entry could cause Chrome to crash when opening it, without removing the entry. Not a good loop to be in. Now we are much more careful with casts around the data coming from disk to confirm sanity before proceeding. R=juliatuttle@chromium.org BUG=541720 Review-Url: https://codereview.chromium.org/2086053003 Cr-Commit-Position: refs/heads/master@{#408134}