[css-layout-api] Fix using an object which has been reallocated.
Per: crbug.com/1119873 It was possible to mutate the work queue while iterating over it. Using this it was possible to trigger a UAF. This patch converts CustomLayoutWorkTask to oilpan (not strictly required as a copy of the CustomLayoutWorkTask would have also sufficed), and now copies the Member<CustomLayoutWorkTask> before using it. Bug: 1119873 Change-Id: I3c66859af8c9a0f33fe8c7df7c30efd2913c2985 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2380135Reviewed-by:Alison Maher <almaher@microsoft.com> Reviewed-by:
Matthew Denton <mpdenton@chromium.org> Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#809215}
Showing
Please register or sign in to comment