diff options
author | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-08 00:49:14 +0000 |
---|---|---|
committer | mattm@chromium.org <mattm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-08 00:49:14 +0000 |
commit | 21fc9dc4cbe2c771e357f4dbed0d2b5131599f8a (patch) | |
tree | 48106c981d524a2c14557d3cb764789996af65c7 /o3d/samples | |
parent | 11da7028425a758f1b30d19c802410747b4a98ad (diff) | |
download | chromium_src-21fc9dc4cbe2c771e357f4dbed0d2b5131599f8a.zip chromium_src-21fc9dc4cbe2c771e357f4dbed0d2b5131599f8a.tar.gz chromium_src-21fc9dc4cbe2c771e357f4dbed0d2b5131599f8a.tar.bz2 |
Try again: Check blockfile size before attempting to read the header.
Reading past the last page of a mmapped file will SIGBUS.
BUG=18174
TEST=truncate Default/Cache/data_* to zero bytes, launch chrome, try to load a website. It shouldn't crash.
Review URL: http://codereview.chromium.org/165174
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22843 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/samples')
0 files changed, 0 insertions, 0 deletions