aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorJarkko Sakkinen <[email protected]>2024-04-29 16:27:57 -0400
committerJarkko Sakkinen <[email protected]>2024-05-09 22:30:51 +0300
commit40813f1879e7b7d33bf70bcd67fb443e8e52247b (patch)
tree04b97491485633865543874d7093cdfe99642f8a /lib/test_fortify/write_overflow-strncpy-src.c
parentacd5eb4f50241c5e3c2e0056c0e2151295796416 (diff)
KEYS: trusted: tpm2: Use struct tpm_buf for sized buffers
Take advantage of the new sized buffer (TPM2B) mode of struct tpm_buf in tpm2_seal_trusted(). This allows to add robustness to the command construction without requiring to calculate buffer sizes manually. Signed-off-by: James Bottomley <[email protected]> Reviewed-by: Stefan Berger <[email protected]> Reviewed-by: Jarkko Sakkinen <[email protected]> Tested-by: Jarkko Sakkinen <[email protected]> Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions