forked from Floorp-Projects/Floorp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1832591: Add CRCs to preloader caches. r=mccr8
We've been seeing crashes in the wild from multiple entries with empty hash key names being read from the preloader caches. Based on assertions we've added to the code, it appears that this is happening on disk, after the cache has been written, rather than during runtime. Using a CRC for this sort of data is a sensible precaution in any case, and it should make it easier to distinguish between on-disk corruption that we can safely ignore and other sorts of consistency issues that we should ideally fix. Differential Revision: https://phabricator.services.mozilla.com/D178118
- Loading branch information
Showing
3 changed files
with
31 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters