Date: Fri, 22 Nov 2002 16:25:20 +0100 From: Marc Recht <marc@informatik.uni-bremen.de> To: freebsd-current@FreeBSD.ORG Subject: malloc(0) broken? Message-ID: <79620000.1037978720@leeloo.intern.geht.de>
next in thread | raw e-mail | index | archive | help
Hi! A malloc(0) returns always 0x800 on my system. This causes some third-party software to fail, because they expect malloc(0) to return NULL. Is this a bug or a feature? malloc(3) doesn't mention anything. Regards, Marc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?79620000.1037978720>