From owner-freebsd-current Fri Nov 22 8:40:14 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9BDAD37B401 for ; Fri, 22 Nov 2002 08:40:12 -0800 (PST) Received: from popelschnipser.de (ultrakoreggd.org [217.160.78.206]) by mx1.FreeBSD.org (Postfix) with SMTP id 0DD3243E88 for ; Fri, 22 Nov 2002 08:40:09 -0800 (PST) (envelope-from marc@informatik.uni-bremen.de) Received: (qmail 22135 invoked by uid 1048); 22 Nov 2002 16:40:07 -0000 Received: from marc@informatik.uni-bremen.de by p10089345 by uid 1045 with qmail-scanner-1.15 (clamscan: 0.54. spamassassin: 2.42. Clear:. Processed in 0.252528 secs); 22 Nov 2002 16:40:07 -0000 Received: from unknown (HELO ?192.168.100.100?) (217.82.116.210) by ultrakoreggd.org with SMTP; 22 Nov 2002 16:40:07 -0000 Date: Fri, 22 Nov 2002 17:40:05 +0100 From: Marc Recht To: Poul-Henning Kamp Cc: freebsd-current@FreeBSD.ORG Subject: Re: malloc(0) broken? Message-ID: <127460000.1037983205@leeloo.intern.geht.de> In-Reply-To: <17192.1037979224@critter.freebsd.dk> References: <17192.1037979224@critter.freebsd.dk> X-Mailer: Mulberry/3.0.0a5 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Then you didnt read malloc(3) well enough: > > V Attempting to allocate zero bytes will return a NULL pointer Oops. :) Thanks. Regards, Marc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message