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
F107163927: D33193.diff
Sat, Jan 11, 2:48 AM
Unknown Object (File)
Dec 2 2024, 7:50 AM
Unknown Object (File)
Dec 2 2024, 7:50 AM
Unknown Object (File)
Dec 2 2024, 7:50 AM
Unknown Object (File)
Dec 2 2024, 7:31 AM
Unknown Object (File)
Nov 27 2024, 2:26 AM
Unknown Object (File)
Nov 25 2024, 1:21 AM
Unknown Object (File)
Oct 2 2024, 3:55 PM
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