Skip to content
Snippets Groups Projects
Commit 5c51d8aa authored by Simon Glass's avatar Simon Glass
Browse files

tpm: Check that parse_byte_string() has data to parse


Rather then crashing when there is no data, print an error. The error is
printed by the caller to parse_byte_string().

Acked-by: default avatarChristophe Ricard <christophe-h.ricard@st.com>
Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarHeiko Schocher <hs@denx.de>
parent 21baf15b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment