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:56 -0400
committerJarkko Sakkinen <[email protected]>2024-05-09 22:30:51 +0300
commitacd5eb4f50241c5e3c2e0056c0e2151295796416 (patch)
tree30354fef4cd50489d574cc302a62c85450b2b01e /lib/test_fortify/write_overflow-strncpy-src.c
parentd926ee92e84146ff85877b15d9ac0c7cd7c422c6 (diff)
tpm: Add tpm_buf_read_{u8,u16,u32}
Declare reader functions for the instances of struct tpm_buf. If the read goes out of boundary, TPM_BUF_BOUNDARY_ERROR is set, and subsequent read will do nothing. 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