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

hash: Ensure verification hex pairs are terminated



This function seems to assume that the chr[] variable contains zeros at
the start, which is not always true. Use strlcpy() to be safe.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 73994c45
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