From 41434cbf03d6e16d7d0cd59a7155f54b75ed1798 Mon Sep 17 00:00:00 2001 From: "rvargas@google.com" Date: Wed, 4 Feb 2009 23:52:08 +0000 Subject: Disk cache: Add a check to make sure that the index table mask is not bigger than the table itself. BUG=7217 Review URL: http://codereview.chromium.org/20054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9190 0039d316-1c4b-4281-b951-d872f2087c98 --- net/disk_cache/errors.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'net/disk_cache/errors.h') diff --git a/net/disk_cache/errors.h b/net/disk_cache/errors.h index eea087a..991086f 100644 --- a/net/disk_cache/errors.h +++ b/net/disk_cache/errors.h @@ -21,7 +21,8 @@ enum { ERR_NUM_ENTRIES_MISMATCH = -9, ERR_READ_FAILURE = -10, ERR_PREVIOUS_CRASH = -11, - ERR_STORAGE_ERROR = -12 + ERR_STORAGE_ERROR = -12, + ERR_INVALID_MASK = -13 }; } // namespace disk_cache -- cgit v1.1