mallocng/aligned_alloc: check for malloc failure
authorDominic Chen <d.c.ddcc@gmail.com>
Thu, 25 Mar 2021 22:20:14 +0000 (18:20 -0400)
committerRich Felker <dalias@aerifal.cx>
Fri, 16 Apr 2021 14:17:25 +0000 (10:17 -0400)
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.


No differences found