Skip to content
Commit 6b31d67c authored by Krzysztof Chruściński's avatar Krzysztof Chruściński Committed by Ioannis Glaropoulos
Browse files

shell: Fix potential overwrite when using strncpy



Size argument must be smaller than strTo buffer size since
strncpy terminates string with NULL.

Signed-off-by: default avatarKrzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
parent 113b80ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment