summaryrefslogtreecommitdiff
path: root/cmd/net.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-07-24 18:03:28 +0300
committerTom Rini <trini@konsulko.com>2021-08-02 20:31:32 +0300
commit031725f8cdf33e836d19f35d3fe82c5baa5a2976 (patch)
tree011d6f7d748bdc87fd5efcac5c8df758505cbc37 /cmd/net.c
parent73994c452fc5a960114360a651201ac48b135e81 (diff)
downloadu-boot-031725f8cdf33e836d19f35d3fe82c5baa5a2976.tar.xz
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>
Diffstat (limited to 'cmd/net.c')
0 files changed, 0 insertions, 0 deletions