|
Message-ID: <07fe83ac-9893-bff0-3c15-4d431815684d@gmail.com>
Date: Thu, 25 Mar 2021 18:26:04 -0400
From: Dominic Chen <d.c.ddcc@...il.com>
To: musl@...ts.openwall.com
Subject: [PATCH] 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.
Thanks,
Dominic
View attachment "0001-mallocng-aligned_alloc-check-for-malloc-failure.patch" of type "text/plain" (785 bytes)
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.