summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/grantpt.c
diff options
context:
space:
mode:
authorjasone <jasone@FreeBSD.org>2007-03-24 20:44:06 +0000
committerjasone <jasone@FreeBSD.org>2007-03-24 20:44:06 +0000
commit8561f36aa3abcc9976e5452c93bd0394586f0d0d (patch)
tree4dc6b14b3dbd73097d8a8fc3cbcca1f31600dee0 /lib/libc/stdlib/grantpt.c
parent4b290448139db304f54bd5f27ffdf1897dbfa5f7 (diff)
downloadFreeBSD-src-8561f36aa3abcc9976e5452c93bd0394586f0d0d.zip
FreeBSD-src-8561f36aa3abcc9976e5452c93bd0394586f0d0d.tar.gz
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.
Diffstat (limited to 'lib/libc/stdlib/grantpt.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud