summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/fwrite.c
diff options
context:
space:
mode:
authorjimharris <jimharris@FreeBSD.org>2013-06-26 23:32:45 +0000
committerjimharris <jimharris@FreeBSD.org>2013-06-26 23:32:45 +0000
commitcd28dd275bc9135d64078d916158ede6edf72de1 (patch)
tree1c8fcb73c6ba81f36815581b3b6eac86725a3662 /lib/libc/stdio/fwrite.c
parent8579bd1923c5d6c8b60bfa330095859b28a60ac3 (diff)
downloadFreeBSD-src-cd28dd275bc9135d64078d916158ede6edf72de1.zip
FreeBSD-src-cd28dd275bc9135d64078d916158ede6edf72de1.tar.gz
Fail any passthrough command whose transfer size exceeds the controller's
max transfer size. This guards against rogue commands coming in from userspace. Also add KASSERTS for the virtual address and unmapped bio cases, if the transfer size exceeds the controller's max transfer size. Sponsored by: Intel MFC after: 3 days
Diffstat (limited to 'lib/libc/stdio/fwrite.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud