Commit 9e680e08 authored by Jian Shen's avatar Jian Shen Committed by Jiantao Xiao
Browse files

net: hns3: add input parameters checking

driver inclusion
category: cleanup
bugzilla: https://gitee.com/openeuler/kernel/issues/I8M1F3


CVE: NA

----------------------------------------------------------------------

There are several driver APIs missed to validate the
input parameters, which may cause security risk. So
fixes it.

Signed-off-by: default avatarJian Shen <shenjian15@huawei.com>
Signed-off-by: default avatarJijie Shao <shaojijie@huawei.com>
Signed-off-by: default avatarJiantao Xiao <xiaojiantao1@h-partners.com>
parent 7be26f9c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment