This is the mail archive of the
cygwin
mailing list for the Cygwin project.
malloc(0) crashing with SIGABRT
- From: Petr Skočík <pskocik at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 9 Sep 2019 19:13:06 +0200
- Subject: malloc(0) crashing with SIGABRT
- References: <366918d8-b505-45be-dc28-303579f17341@gmail.com>
There's been a twitter discussion on how different POSIX platforms
handle malloc(0): https://twitter.com/sortiecat/status/1170697927804817412 .
As for Cygwin, the answer appears to be "not well", but this should be
easy to fix.
Best regards,
Petr Skocik
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple