commit | cec0d63d8bc46205d38456024176a0ece590253e | [log] [tgz] |
---|---|---|
author | Jason Evans <jasone@canonware.com> | Mon Sep 14 23:17:25 2015 -0700 |
committer | Jason Evans <jasone@canonware.com> | Mon Sep 14 23:55:48 2015 -0700 |
tree | 8604c2c8a337bfb6764eeb63a290e9a6d8297ee5 | |
parent | ef363de7010b5e13f4e1c0d7b3a109362bda7aa7 [diff] |
Make one call to prof_active_get_unlocked() per allocation event. Make one call to prof_active_get_unlocked() per allocation event, and use the result throughout the relevant functions that handle an allocation event. Also add a missing check in prof_realloc(). These fixes protect allocation events against concurrent prof_active changes.