FreeBSD Bugzilla – Attachment 192613 Details for
Bug 227605
[OCF] encrypt_multi/decrypt_multi process too many data
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Fix proposal
ocf_limit_encrypt_decrypt_multi_processing.cryptosoft.c (text/plain), 458 bytes, created by
valentin.vergez@stormshield.eu
on 2018-04-18 09:07:54 UTC
(
hide
)
Description:
Fix proposal
Filename:
MIME Type:
Creator:
valentin.vergez@stormshield.eu
Created:
2018-04-18 09:07:54 UTC
Size:
458 bytes
patch
obsolete
>diff --git sys/opencrypto/cryptosoft.c sys/opencrypto/cryptosoft.c >index 45dc4d4..b4c9204 100644 >--- sys/opencrypto/cryptosoft.c >+++ sys/opencrypto/cryptosoft.c >@@ -253,7 +253,7 @@ swcr_encdec(struct cryptodesc *crd, struct swcr_data *sw, caddr_t buf, > size_t nb, rem; > > nb = blks; >- rem = uio->uio_iov[ind].iov_len - k; >+ rem = min(i, uio->uio_iov[ind].iov_len - k); > idat = (uint8_t *)uio->uio_iov[ind].iov_base + k; > > if (exf->reinit) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 227605
: 192613