summaryrefslogtreecommitdiff
path: root/drivers/eisa
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-06-30 09:33:41 +0300
committerKalle Valo <kvalo@codeaurora.org>2018-07-04 18:15:06 +0300
commitf9cbaeb52930342059429f56d0b9f05c8d54c0ba (patch)
tree28963ff600a1af119033feb95b510e7112145f5b /drivers/eisa
parent04614fe46f315a223d96b8f5df7b52130965677b (diff)
downloadlinux-f9cbaeb52930342059429f56d0b9f05c8d54c0ba.tar.xz
atmel: using strlcpy() to avoid possible buffer overflows
'firmware' is a module param which may been longer than firmware_id, so using strlcpy() to guard against overflows. Also priv is allocated with zeroed memory,no need to set firmware_id[0] to '\0'. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/eisa')
0 files changed, 0 insertions, 0 deletions