]> Git Repo - J-u-boot.git/commit - common/hash.c
hash: Ensure verification hex pairs are terminated
authorSimon Glass <[email protected]>
Sat, 24 Jul 2021 15:03:28 +0000 (09:03 -0600)
committerTom Rini <[email protected]>
Mon, 2 Aug 2021 17:31:32 +0000 (13:31 -0400)
commit031725f8cdf33e836d19f35d3fe82c5baa5a2976
tree011d6f7d748bdc87fd5efcac5c8df758505cbc37
parent73994c452fc5a960114360a651201ac48b135e81
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 <[email protected]>
common/hash.c
This page took 0.031521 seconds and 4 git commands to generate.