Date: Wed, 12 Mar 1997 12:10:05 -0800 (PST) From: Poul-Henning Kamp <phk@critter.dk.tfs.com> To: freebsd-bugs Subject: Re: kern/2964: malloc() returns non-null when it should not Message-ID: <199703122010.MAA08550@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/2964; it has been noted by GNATS. From: Poul-Henning Kamp <phk@critter.dk.tfs.com> To: jmaslak@blackfire.com Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: kern/2964: malloc() returns non-null when it should not Date: Wed, 12 Mar 1997 21:08:23 +0100 > I'm assuming this is a kernel problem, although it may be a gnu > problem. > > If malloc is called as follows: > malloc((size_t) 0xffffffff) > it returns a non-null pointer. This is a sign extension problem in malloc() which I have not gotten around to fix properly. It's on my "known but mostly harmless" list. malloc isn't a kernel function btw, it lives in libc. -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@tfs.com TRW Financial Systems, Inc. Power and ignorance is a disgusting cocktail.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703122010.MAA08550>