diff options
author | Masami Hiramatsu <masami.hiramatsu@linaro.org> | 2022-01-31 05:52:20 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2022-02-11 19:29:23 +0300 |
commit | d8ae90a8d47da2f22041bf9f6fd6d42a598f44ee (patch) | |
tree | 1ac6a6f17975e6cdb5653a1adffdfa6c3a1cb8c4 /drivers/dfu/dfu_mtd.c | |
parent | 32a711dbdbec9aed6777d1059d115b1c83d36fca (diff) | |
download | u-boot-d8ae90a8d47da2f22041bf9f6fd6d42a598f44ee.tar.xz |
DFU: Do not copy the entity name over the buffer size
Use strlcpy() instead of strcpy() to prevent copying the
entity name over the name buffer size.
Signed-off-by: Masami Hiramatsu <masami.hiramatsu@linaro.org>
Diffstat (limited to 'drivers/dfu/dfu_mtd.c')
0 files changed, 0 insertions, 0 deletions