Date: Wed, 25 Nov 2020 02:53:16 -0500 From: Dominic Chen <d.c.ddcc@...il.com> To: musl@...ts.openwall.com Subject: [PATCH] Fix crash in malloc_usable_size() if nullptr Please CC me on replies. According to the manual for malloc_usable_size(), zero should be returned if the input pointer is NULL. Currently, this is not checked, which can result in SIGSEGV at runtime. Thanks, Dominic View attachment "patch.diff" of type "text/plain" (396 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.