From owner-cvs-src@FreeBSD.ORG Sat Mar 24 20:44:07 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7023C16A400; Sat, 24 Mar 2007 20:44:07 +0000 (UTC) (envelope-from jasone@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 497E313C46C; Sat, 24 Mar 2007 20:44:07 +0000 (UTC) (envelope-from jasone@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.8/8.13.8) with ESMTP id l2OKi74D008036; Sat, 24 Mar 2007 20:44:07 GMT (envelope-from jasone@repoman.freebsd.org) Received: (from jasone@localhost) by repoman.freebsd.org (8.13.8/8.13.8/Submit) id l2OKi7VG008035; Sat, 24 Mar 2007 20:44:07 GMT (envelope-from jasone) Message-Id: <200703242044.l2OKi7VG008035@repoman.freebsd.org> From: Jason Evans Date: Sat, 24 Mar 2007 20:44:07 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libc/stdlib malloc.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Mar 2007 20:44:07 -0000 jasone 2007-03-24 20:44:07 UTC FreeBSD src repository Modified files: lib/libc/stdlib malloc.c Log: Fix some subtle bugs for posix_memalign() having to do with integer rounding and overflow. Carefully document what the various overflow tests actually detect. The bugs mostly canceled out, such that the worst possible failure cases resulted in non-fatal over-allocations. Revision Changes Path 1.144 +43 -18 src/lib/libc/stdlib/malloc.c