aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm/lib/Target/Hexagon/MCTargetDesc/(public-mirror)
diff options
context:
space:
mode:
authorAndrey V. Elsukov <ae@FreeBSD.org>2025-03-06 12:18:59 +0000
committerAndrey V. Elsukov <ae@FreeBSD.org>2025-03-06 12:18:59 +0000
commit04207850a9b988d3c04e904cb5783f33da7fe184 (patch)
treef141ceec5d4c44af24cd44c0154316942cee68a8 /contrib/llvm/lib/Target/Hexagon/MCTargetDesc/(public-mirror)
parent234683726708cf5212d672d676d30056d4133859 (diff)
pfkey2: use correct value for a key lengthHEADmain
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