[Video Capture Manager] Delete all occurrences of device start requests queued.
The vulnerability indicated in crbug.com/995964 suggests that the core issue relates to the assumption that device_start_request_queue_ can only contain one occurrence of a controller while this might not be the case. This change makes sure that all occurrence of a controller are removed from the list, instead of removing only the first found. BUG=995964 Change-Id: Ice2a1da37d13339128d3d52d25daa252c5d61155 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1784726Reviewed-by:Guido Urdaneta <guidou@chromium.org> Commit-Queue: Armando Miraglia <armax@chromium.org> Cr-Commit-Position: refs/heads/master@{#694255}
Showing
Please register or sign in to comment