DescriptionDon't leave a discarded SharedBuffer on Resource
If a SharedBuffer was unlocked and the OS then purged the
backing DiscardableMemory, we will evict the Resource from
MemoryCache. However, before doing so, we will give inspector
a chance to copy the data. In the case where the buffer was
purged, InspectorPageAgent may improperly handle the buffer
given its state. In that case, clear the buffer so there is
no opportunity for the inspector to misuse it.
BUG=594117
TEST=ResourceTest.LockFailureNoCrash
Committed: https://crrev.com/3c5a24bba6d4b39c5e725af9661ac0cadb1085cf
Cr-Commit-Position: refs/heads/master@{#381732}
Patch Set 1 #Patch Set 2 : #
Messages
Total messages: 14 (7 generated)
|