Page MenuHomeFreeBSD

D33193.diff
No OneTemporary

D33193.diff

diff --git a/sys/opencrypto/crypto.c b/sys/opencrypto/crypto.c
--- a/sys/opencrypto/crypto.c
+++ b/sys/opencrypto/crypto.c
@@ -1352,7 +1352,8 @@
KASSERT(crp->crp_payload_output_start == 0,
("payload output start non-zero without output buffer"));
} else {
- KASSERT(crp->crp_payload_output_start < olen,
+ KASSERT(crp->crp_payload_output_start == 0 ||
+ crp->crp_payload_output_start < olen,
("invalid payload output start"));
KASSERT(crp->crp_payload_output_start +
crp->crp_payload_length <= olen,

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 12, 2:48 AM (20 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15760234
Default Alt Text
D33193.diff (537 B)

Event Timeline