diff options
author | Andrey V. Elsukov <ae@FreeBSD.org> | 2025-03-06 12:18:59 +0000 |
---|---|---|
committer | Andrey V. Elsukov <ae@FreeBSD.org> | 2025-03-06 12:18:59 +0000 |
commit | 04207850a9b988d3c04e904cb5783f33da7fe184 (patch) | |
tree | f141ceec5d4c44af24cd44c0154316942cee68a8 /contrib/llvm/lib/Target/Hexagon/MCTargetDesc/(public-mirror) | |
parent | 234683726708cf5212d672d676d30056d4133859 (diff) |
The length of key data is specified via sadb_key_bits field.
Use specified size for buffer allocation and key copying.
Also add a check that the value of sadb_key_bits is not zero,
as explicitly required in RFC 2367.
PR: 241010
Submitted by: jean-francois.hren at stormshield eu
MFC after: 1 week
Diffstat (limited to 'contrib/llvm/lib/Target/Hexagon/MCTargetDesc/(public-mirror)')
0 files changed, 0 insertions, 0 deletions