commit | 5f7140b045136232b1bbe66fcf2a7f63d08682a1 | [log] [tgz] |
---|---|---|
author | Jason Evans <je@fb.com> | Thu Feb 12 15:54:53 2015 -0800 |
committer | Jason Evans <je@fb.com> | Thu Feb 12 15:54:53 2015 -0800 |
tree | 77e9c9e4c69f232c6f7379ef84eec57da4877102 | |
parent | 88fef7ceda6269598cef0cee8b984c8765673c27 [diff] |
Make prof_tctx accesses atomic. Although exceedingly unlikely, it appears that writes to the prof_tctx field of arena_chunk_map_misc_t could be reordered such that a stale value could be read during deallocation, with profiler metadata corruption and invalid pointer dereferences being the most likely effects.