aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorDavid Gstir <[email protected]>2024-07-17 13:28:44 +0200
committerJarkko Sakkinen <[email protected]>2024-08-15 22:01:14 +0300
commit6486cad00a8b7f8585983408c152bbe33dda529b (patch)
treef7f5e5b412a73f80e830e3b001f4144be5ae956c /lib/test_fortify/write_overflow-strncpy-src.c
parenta4a35f6cbebbf9466b6c412506ab89299d567f51 (diff)
KEYS: trusted: fix DCP blob payload length assignment
The DCP trusted key type uses the wrong helper function to store the blob's payload length which can lead to the wrong byte order being used in case this would ever run on big endian architectures. Fix by using correct helper function. Cc: [email protected] # v6.10+ Fixes: 2e8a0f40a39c ("KEYS: trusted: Introduce NXP DCP-backed trusted keys") Suggested-by: Richard Weinberger <[email protected]> Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: David Gstir <[email protected]> Reviewed-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