diff options
author | 2013-04-01 07:58:43 +0000 | |
---|---|---|
committer | 2013-04-01 07:58:43 +0000 | |
commit | da6c711cfcac8bcb3f845df9034135ea08247bc9 (patch) | |
tree | 2bb980571620f1702b72a3d3ddd7bc59116b1fda /lib/libc/asr/asr_debug.c | |
parent | simpler and saner implementation for tcp_write(). now fully handles (diff) | |
download | wireguard-openbsd-da6c711cfcac8bcb3f845df9034135ea08247bc9.tar.xz wireguard-openbsd-da6c711cfcac8bcb3f845df9034135ea08247bc9.zip |
Validate the I/O request when it is first received, rather than waiting
until disk I/O is performed. This avoids doing encryption for a write
that has an invalid I/O request. Additionally sr_crypto_wu_get() can
get the block number from the work unit, instead of decoding the SCSI
command (and failing to handle the invalid case).
ok krw@
Diffstat (limited to 'lib/libc/asr/asr_debug.c')
0 files changed, 0 insertions, 0 deletions