Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107163927
D33193.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
537 B
Referenced Files
None
Subscribers
None
D33193.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D33193: crypto: Don't assert for empty output buffers.
Attached
Detach File
Event Timeline
Log In to Comment