malloc does not return null when out of memory

Kris Kennaway kris at obsecurity.org
Wed Jul 23 20:16:14 PDT 2003


On Wed, Jul 23, 2003 at 01:34:27PM -0400, Gabor wrote:

> Here is the tail end of the output.  It dies when trying to poke at
> the memory using memset.  If I just malloc without the memset, it
> never even dies.

Ah, the annual "memory overcommit" thread.  I thought we were overdue
for one.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20030723/913d12bd/attachment.bin


More information about the freebsd-stable mailing list