Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[M110] Fix buggy use of memset in Rankings::Iterator
Using memset over this causes the raw_ptr's private ptr to be reset incorrectly, without updating the refcount. It causes the quarantine size to increase infinitely. This patch is likely to be merged into beta, so I made the minimal change. I would like to refactor this more in a second step. Plan: 1. Minimal fix (this patch) 2. Refactor: https://chromium-review.googlesource.com/c/chromium/src/+/4189439 (cherry picked from commit 70e0aee) Bug: 1409814 Change-Id: I0f7f057fe04ac5e90e9f720473c03521752e0db7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4188566 Reviewed-by: Josh Karlin <jkarlin@chromium.org> Commit-Queue: Arthur Sonzogni <arthursonzogni@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1096455} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4200666 Reviewed-by: Maks Orlovich <morlovich@chromium.org> Auto-Submit: Arthur Sonzogni <arthursonzogni@chromium.org> Cr-Commit-Position: refs/branch-heads/5481@{#722} Cr-Branched-From: 130f3e4-refs/heads/main@{#1084008}
- Loading branch information