summaryrefslogtreecommitdiff
path: root/src/thread/pthread_create.c
diff options
context:
space:
mode:
authorDominic Chen <d.c.ddcc@gmail.com>2021-03-25 18:20:14 -0400
committerRich Felker <dalias@aerifal.cx>2021-04-16 10:17:25 -0400
commit95a540e176b3ebd57d6033fd23cf9fec8a5ddbe8 (patch)
tree806cf2f44b88afa4eda056be40d134aa8149160a /src/thread/pthread_create.c
parent2c00f95c1ac7dd50f53d9e361847ebd2513c8da0 (diff)
downloadmusl-95a540e176b3ebd57d6033fd23cf9fec8a5ddbe8.tar.gz
mallocng/aligned_alloc: check for malloc failure
With mallocng, calling posix_memalign() or aligned_alloc() will SIGSEGV if the internal malloc() call returns NULL. This does not occur with oldmalloc, which explicitly checks for allocation failure.
Diffstat (limited to 'src/thread/pthread_create.c')
0 files changed, 0 insertions, 0 deletions