diff options
author | Kjetil Oftedal <oftedal@gmail.com> | 2019-09-25 09:59:46 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2019-09-30 19:29:07 +0200 |
commit | 3538ba34e0e415105d3fe235605e6dba1597ad98 (patch) | |
tree | 2d4986aa38bf105c73657e0206f2dbd5c1864a87 /libc/unistd/pathconf.c | |
parent | 7ed8c421f71f89978da0ba30b19df245c7c02e39 (diff) |
malloc: Add missing locks for some paths (valloc/memalign/posix_memalign)
The internal heap structures were not protected properly in
memalign(). If multiple threads were concurrently allocating memory and
one of them were requesting aligned memory via valloc,memalign or
posix_memalign the internal heap data structures could be corrupted.
Signed-off-by: Kjetil Oftedal <oftedal@gmail.com>
Diffstat (limited to 'libc/unistd/pathconf.c')
0 files changed, 0 insertions, 0 deletions