summaryrefslogtreecommitdiffstats
path: root/contrib/libc++/src/stdexcept.cpp
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2012-11-08 03:17:41 +0000
committerkib <kib@FreeBSD.org>2012-11-08 03:17:41 +0000
commita6087f0bd1f606a167eb4e97ac80d3faf8bafa39 (patch)
tree885cf69e2b68584ffa14cd4feef2e9252b433b61 /contrib/libc++/src/stdexcept.cpp
parentab4526dbe850d9bcf55f30ff75175aeea62da778 (diff)
downloadFreeBSD-src-a6087f0bd1f606a167eb4e97ac80d3faf8bafa39.zip
FreeBSD-src-a6087f0bd1f606a167eb4e97ac80d3faf8bafa39.tar.gz
Zero the newly allocated md(4) swap-backed page to prevent random
kernel memory leakage to userspace. For the typical use, when a filesystem put on the md disk, the change only results in CPU and memory bandwidth spent to zero the page, since filsystems make sure that user never see unwritten content. But if md disk is used as raw device by userspace, the garbage is exposed. Reported by: Paul Schenkeveld <freebsd@psconsult.nl> MFC after: 2 weeks
Diffstat (limited to 'contrib/libc++/src/stdexcept.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud