Date: Thu, 02 Dec 2004 00:59:47 -0500 From: "Brandon S. Allbery KF8NH" <allbery@ece.cmu.edu> To: JINMEI Tatuya / =?UTF-8?Q?=E7=A5=9E=E6=98=8E=E9=81=94?= =?UTF-8?Q?=E5=93=89?= <jinmei@isl.rdc.toshiba.co.jp> Cc: current@FreeBSD.org Subject: Re: malloc(0) returns an invalid address Message-ID: <1101967187.4877.19.camel@rushlight.kf8nh.com> In-Reply-To: <1101966976.4877.16.camel@rushlight.kf8nh.com> References: <y7vfz2qpltw.wl@ocean.jinmei.org> <MDEHLPKNGKAHNMBLJOLKMEAKADAB.davids@webmaster.com> <y7v1xe9p87u.wl@ocean.jinmei.org> <1101966976.4877.16.camel@rushlight.kf8nh.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2004-12-02 at 00:56, Brandon S. Allbery KF8NH wrote: > With a size of 0 it's easy to cheat: return a "magic" minimal-sized Correction (what I get for shooting off my mouth at 1am...): "minimal-sized" is meaningless in this context. -- brandon s. allbery [linux,solaris,freebsd,perl] allbery@kf8nh.com system administrator [WAY too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon univ. KF8NH
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1101967187.4877.19.camel>