Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Backport] CVE-2021-30541: Use after free in V8
Cherry-pick of patch originally reviewed on https://chromium-review.googlesource.com/c/v8/v8/+/3067222: Fix GC issue in BuildJsonObject We must ensure that the sweeper is not running or has already swept mutable_double_buffer. Otherwise the GC can add it to the free list. (cherry picked from commit 81181a8ad80ac978a6a8732d05f615c645df95d2) Bug: v8:11837 Bug: chromium:1214842 No-Try: true No-Presubmit: true No-Tree-Checks: true Change-Id: Ifd9cf15f1c94f664fd6489c70bb38b59730cdd78 Commit-Queue: Victor Gomes <victorgomes@chromium.org> Cr-Original-Commit-Position: refs/heads/master@{#74859} Commit-Queue: Roger Felipe Zanoni da Silva <rzanoni@google.com> Reviewed-by: Achuith Bhandarkar <achuith@chromium.org> Reviewed-by: Jana Grill <janagrill@google.com> Cr-Commit-Position: refs/branch-heads/9.0@{#68} Cr-Branched-From: bd0108b4c88e0d6f2350cb79b5f363fbd02f3eb7-refs/heads/9.0.257@{#1} Cr-Branched-From: 349bcc6a075411f1a7ce2d866c3dfeefc2efa39d-refs/heads/master@{#73001} Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
- Loading branch information