commit | f4f76205fef6df93b2a0c3334fd88d2233bb2b26 | [log] [tgz] |
---|---|---|
author | Hans Boehm <hboehm@google.com> | Fri Aug 17 11:40:39 2018 -0700 |
committer | Hans Boehm <hboehm@google.com> | Fri Aug 17 11:40:39 2018 -0700 |
tree | f0aa3cd710696b7e2e721203f34607c8b4a2950b | |
parent | 6a581b7b668c2ea201d351edfe13c9f2270d5418 [diff] |
Check sp<>::clear() for data races sp<>::clear() presents the same risks of heap corruption in the presence of data races as does assignment. Add the same data race check. Bug: 112651574 Test: Build and boot AOSP Change-Id: I75d4eedd756d521920e61ff9187509f9145d4235