cvs commit: src/lib/libc/stdlib malloc.c
Jason Evans
jasone at FreeBSD.org
Sat Mar 24 20:44:07 UTC 2007
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
More information about the cvs-src
mailing list