Page MenuHomeFreeBSD

D29073.diff
No OneTemporary

D29073.diff

diff --git a/sys/opencrypto/ktls_ocf.c b/sys/opencrypto/ktls_ocf.c
--- a/sys/opencrypto/ktls_ocf.c
+++ b/sys/opencrypto/ktls_ocf.c
@@ -298,8 +298,8 @@
memcpy(crp.crp_iv, hdr + 1, AES_BLOCK_LEN);
crypto_use_uio(&crp, &uio);
if (!inplace) {
- memcpy(out_iov, outiov, sizeof(*iniov) * outiovcnt);
- out_iov[outiovcnt] = iov[outiovcnt + 1];
+ memcpy(out_iov, outiov, sizeof(*outiov) * outiovcnt);
+ out_iov[outiovcnt] = iov[iniovcnt + 1];
out_uio.uio_iov = out_iov;
out_uio.uio_iovcnt = outiovcnt + 1;
out_uio.uio_offset = 0;

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 8, 11:51 PM (20 h, 49 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14545698
Default Alt Text
D29073.diff (543 B)

Event Timeline