commit | c90ffe2a6c10bb34c8eed5225f6d3e4d3be23acb | [log] [tgz] |
---|---|---|
author | robliao <robliao@chromium.org> | Fri Oct 07 20:22:12 2016 |
committer | Commit bot <commit-bot@chromium.org> | Fri Oct 07 20:24:20 2016 |
tree | 2a2b59e6fba0563d045052035ef4c48fc67e7259 | |
parent | 90380f52bb9fb0a6e833701cdfe38541b08a0265 [diff] |
Ensure Freed TLS Slots Contain nullptr on Reallocation Code generally depends on TLS slots initialized to zero. This means that code that gets a reused slot also depends on the reused slot containing zero. This CL introduces a versioning system to allow us to quickly determine if a slot was previously freed. Also added overview comments as a bonus. BUG=590907 Review-Url: https://codereview.chromium.org/2383833004 Cr-Commit-Position: refs/heads/master@{#423952}