summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-05-13 19:39:29 -0600
committerTom Rini <trini@konsulko.com>2021-07-15 18:42:05 -0400
commitfdfae3727ce2d862c5b7d98106c987202d190712 (patch)
tree79cb881bd750eeccae6f9458c7c61734bfe0a8ae /arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c
parent4d159b6f84abeaacb346cfd14a3b0c6fb86f43f9 (diff)
tpm: Check outgoing command size
In tpm_sendrecv_command() the command buffer is passed in. If a mistake is somehow made in setting this up, the size could be out of range. Add a sanity check for this. Signed-off-by: Simon Glass <sjg@chromium.org> Reported-by: Coverity (CID: 331152)
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog.c')
0 files changed, 0 insertions, 0 deletions