DescriptionFix use after free in memory only backend.
Writing to a sparse entry could result that entry being evicted while
the write was still in progress. This fix considers sparse entries in
use if any of their children are in use; this can drive up memory use
but avoids tickling the dragon by expanding the hand rolled
refcounting implementation in the in memory cache.
R=mmenke@chromium.org
BUG=589186
Committed: https://crrev.com/b7129635933594a6eb91e82e8139235e6a843a05
Cr-Commit-Position: refs/heads/master@{#377598}
Patch Set 1 #Patch Set 2 : clean up #Patch Set 3 : one more test check #Patch Set 4 : narrow #Patch Set 5 : coding style #
Total comments: 6
Patch Set 6 : remediate #
Total comments: 1
Depends on Patchset: Messages
Total messages: 13 (6 generated)
|