Skip to content
Commit 59e8ef18 authored by XueBing Chen's avatar XueBing Chen Committed by Johannes Berg
Browse files

wifi: cfg80211: use strscpy to replace strlcpy



The strlcpy should not be used because it doesn't limit the source
length. Preferred is strscpy.

Signed-off-by: default avatarXueBing Chen <chenxuebing@jari.cn>
Link: https://lore.kernel.org/r/2d2fcbf7.e33.181eda8e70e.Coremail.chenxuebing@jari.cn


Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 51d3cfaf
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