[PartitionAlloc] Make sure that freelists are null-terminated.
Freelists must be null-terminated. This is currently not enforced in the code. This commit removes all "reinterpret_cast<>"s for the freelist, and enforces null termination. Bug: 998048 Change-Id: I0593a337ef36693e4ffe08ce8ec04ba679e24183 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2584764Reviewed-by:Chris Palmer <palmer@chromium.org> Commit-Queue: Benoit L <lizeb@chromium.org> Cr-Commit-Position: refs/heads/master@{#836046}
Showing
Please register or sign in to comment