diff options
author | John Thacker <johnthacker@gmail.com> | 2023-03-19 15:00:17 -0400 |
---|---|---|
committer | AndersBroman <a.broman58@gmail.com> | 2023-03-22 07:44:06 +0000 |
commit | a9e9ddf0f3f00a955b5486e4f05629fa9ac67dc8 (patch) | |
tree | 8980d0d9b9370b725ea15c082db7bac5a1b6006e /cmake/modules | |
parent | d9a19e1bd7ffdccaa95c5de099efaa3f65895a38 (diff) |
tls-utils: Don't allocate memory for hash if the tvb doesn't have it
Check to see if the tvb passed in actually has the bytes to be added
to the hash before reallocing additional memory for it. Also handle
the edge case used in TLS to add a few null bytes when calculating
the hash as though each message was sent in a single fragment.
Fix #18903
Diffstat (limited to 'cmake/modules')
0 files changed, 0 insertions, 0 deletions