summaryrefslogtreecommitdiffstats
path: root/lib/libc/softfloat/fpgetsticky.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2009-03-28 04:00:46 +0000
committerdelphij <delphij@FreeBSD.org>2009-03-28 04:00:46 +0000
commit38e77f44827a3da21018f0a385572fd4c08d9a45 (patch)
tree79143c20fc600108f05874a7856ca9b3575262a2 /lib/libc/softfloat/fpgetsticky.c
parent2f83429b40ea5e9d7042360ddd01d674a50b4306 (diff)
downloadFreeBSD-src-38e77f44827a3da21018f0a385572fd4c08d9a45.zip
FreeBSD-src-38e77f44827a3da21018f0a385572fd4c08d9a45.tar.gz
When allocating memory, zero out them if we don't intend to overwrite them
all; before freeing memory, zero out them before we release it as free heap. This will eliminate some potential information leak issue. While there, remove the PURIFY option. There is a slight difference between the new behavior and the old -DPURIFY behavior, with the latter initializes memory with 0xff's. The difference between old and new approach does not generate observable difference. Obtained from: OpenBSD (partly).
Diffstat (limited to 'lib/libc/softfloat/fpgetsticky.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud