Date: Thu, 30 Jan 2003 07:00:17 -0800 (PST) From: Poul-Henning Kamp <phk@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdlib malloc.c Message-ID: <200301301500.h0UF0HX3046287@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
phk 2003/01/30 07:00:17 PST Modified files: lib/libc/stdlib malloc.c Log: Catch some cases where asking for ridiculously large allocations could result in a segfault. Instead just return NULL. Revision Changes Path 1.74 +4 -0 src/lib/libc/stdlib/malloc.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301301500.h0UF0HX3046287>