-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix underflow in sizeBucketsPowerAndLocksPower()
Summary: If `cacheEntries` is too small, `bucketsPower_` will be less than 10. Since `bucketsPower_` is unsigned, it will underflow if we subtract 10 from it. Reviewed By: jaesoo-fb Differential Revision: D50994522 fbshipit-source-id: 55151fdab1982442a706267b3dd3a0bb6a6fd6e7
- Loading branch information
1 parent
0238600
commit 90d6313
Showing
2 changed files
with
6 additions
and
1 deletion.
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