summaryrefslogtreecommitdiff
path: root/drivers/dfu/dfu_mtd.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <masami.hiramatsu@linaro.org>2022-01-31 05:52:20 +0300
committerTom Rini <trini@konsulko.com>2022-02-11 19:29:23 +0300
commitd8ae90a8d47da2f22041bf9f6fd6d42a598f44ee (patch)
tree1ac6a6f17975e6cdb5653a1adffdfa6c3a1cb8c4 /drivers/dfu/dfu_mtd.c
parent32a711dbdbec9aed6777d1059d115b1c83d36fca (diff)
downloadu-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