Skip to content
Commit fdfae372 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
Reported-by: Coverity (CID: 331152)
parent 4d159b6f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment