commit | b827f395c39aec3f5450a0920b422759ef106550 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Jul 24 09:03:28 2021 -0600 |
committer | Tom Rini <trini@konsulko.com> | Mon Aug 02 13:31:32 2021 -0400 |
tree | 011d6f7d748bdc87fd5efcac5c8df758505cbc37 | |
parent | 09bc71ac82f5139f7429ccfb9c61b18fb0f3ae0f [diff] |
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: Simon Glass <sjg@chromium.org>