Chromium Code Reviews
DescriptionVideoCaptureHost: Remove |controllers_| entry before calling VideoCaptureManager::StopCaptureForClient() to prevent a race
The destruction sequence in case of error implies
several walks around VideoCaptureManager and
MediaStreamManager. I believe the changes introduced
by mojo have made the UAF in the bug more evident.
In any case, this CL prevents that cycle by removing
the entry from |controllers_| before requesting
something from the VideoCaptureManager.
BUG=654199
Committed: https://crrev.com/92d59c5c7195bc11f72c6d2a965cbe8ea571e455
Cr-Commit-Position: refs/heads/master@{#424210}
Patch Set 1 #
Messages
Total messages: 12 (7 generated)
|
|||||||||||||||||||