Page MenuHomeFreeBSD

crypto: Don't assert for empty output buffers.
ClosedPublic

Authored by jhb on Nov 30 2021, 5:16 PM.
Tags
None
Referenced Files
F109074795: D33193.id99246.diff
Fri, Jan 31, 11:15 AM
Unknown Object (File)
Sun, Jan 26, 10:17 PM
Unknown Object (File)
Sat, Jan 25, 8:04 PM
Unknown Object (File)
Tue, Jan 21, 11:24 PM
Unknown Object (File)
Sat, Jan 18, 7:07 AM
Unknown Object (File)
Sat, Jan 11, 2:48 AM
Unknown Object (File)
Dec 2 2024, 7:50 AM
Unknown Object (File)
Dec 2 2024, 7:50 AM
Subscribers

Details

Summary

It is always valid for crp_payload_output_start to be 0. However, if
an output buffer is empty (e.g. a decryption request with a tag but an
empty payload), the existing assertion failed since 0 is not less than
0.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 43057
Build 39945: arc lint + arc unit