diff options
author | Dominic Chen <d.c.ddcc@gmail.com> | 2021-03-25 18:20:14 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2021-04-16 10:17:25 -0400 |
commit | 95a540e176b3ebd57d6033fd23cf9fec8a5ddbe8 (patch) | |
tree | 806cf2f44b88afa4eda056be40d134aa8149160a /arch/i386 | |
parent | 2c00f95c1ac7dd50f53d9e361847ebd2513c8da0 (diff) | |
download | musl-95a540e176b3ebd57d6033fd23cf9fec8a5ddbe8.tar.gz musl-95a540e176b3ebd57d6033fd23cf9fec8a5ddbe8.tar.xz musl-95a540e176b3ebd57d6033fd23cf9fec8a5ddbe8.zip |
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 'arch/i386')
0 files changed, 0 insertions, 0 deletions