Date: Sat, 3 Aug 2002 19:52:11 -0700 (PDT) From: "Tim J. Robbins" <tjr@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdlib calloc.c Message-ID: <200208040252.g742qB71002209@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
tjr 2002/08/03 19:52:11 PDT
Modified files:
lib/libc/stdlib calloc.c
Log:
Signal an error instead of giving the caller less memory than they asked
for when num * size would cause integer overflow.
MFC after: 1 week
Revision Changes Path
1.6 +7 -0 src/lib/libc/stdlib/calloc.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?200208040252.g742qB71002209>
