diff options
author | jimharris <jimharris@FreeBSD.org> | 2013-06-26 23:32:45 +0000 |
---|---|---|
committer | jimharris <jimharris@FreeBSD.org> | 2013-06-26 23:32:45 +0000 |
commit | cd28dd275bc9135d64078d916158ede6edf72de1 (patch) | |
tree | 1c8fcb73c6ba81f36815581b3b6eac86725a3662 /lib/libc/stdio/fwrite.c | |
parent | 8579bd1923c5d6c8b60bfa330095859b28a60ac3 (diff) | |
download | FreeBSD-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