Date: Sat, 24 Mar 2007 20:44:07 +0000 (UTC) From: Jason Evans <jasone@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdlib malloc.c Message-ID: <200703242044.l2OKi7VG008035@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703242044.l2OKi7VG008035>
