Comment #8 on issue 18174 by bugdro...@chromium.org: Crash while creating  
disk cache
http://code.google.com/p/chromium/issues/detail?id=18174

The following revision refers to this bug:
     http://src.chromium.org/viewvc/chrome?view=rev&revision=22843

------------------------------------------------------------------------
r22843 | ma...@chromium.org | 2009-08-07 17:49:14 -0700 (Fri, 07 Aug 2009)  
| 8 lines
Changed paths:
    M  
http://src.chromium.org/viewvc/chrome/trunk/src/net/disk_cache/block_files.cc?r1=22843&r2=22842
    M  
http://src.chromium.org/viewvc/chrome/trunk/src/net/disk_cache/block_files.h?r1=22843&r2=22842
    M  
http://src.chromium.org/viewvc/chrome/trunk/src/net/disk_cache/block_files_unittest.cc?r1=22843&r2=22842

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
------------------------------------------------------------------------


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to