From owner-cvs-all Sat Aug 3 19:52:16 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C960537B400; Sat, 3 Aug 2002 19:52:11 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FD7343E4A; Sat, 3 Aug 2002 19:52:11 -0700 (PDT) (envelope-from tjr@FreeBSD.org) Received: from freefall.freebsd.org (tjr@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g742qBJU002210; Sat, 3 Aug 2002 19:52:11 -0700 (PDT) (envelope-from tjr@freefall.freebsd.org) Received: (from tjr@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g742qB71002209; Sat, 3 Aug 2002 19:52:11 -0700 (PDT) Message-Id: <200208040252.g742qB71002209@freefall.freebsd.org> From: "Tim J. Robbins" Date: Sat, 3 Aug 2002 19:52:11 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdlib calloc.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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