Skip to content
Commit d8ae90a8 authored by Masami Hiramatsu's avatar Masami Hiramatsu Committed by Tom Rini
Browse files

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: default avatarMasami Hiramatsu <masami.hiramatsu@linaro.org>
parent 32a711db
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment