summaryrefslogtreecommitdiff
path: root/drivers/net/tun.c
diff options
context:
space:
mode:
authorzhangyue <zhangyue1@kylinos.cn>2021-11-18 08:46:32 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-12-08 10:50:12 +0300
commit2c1a6a9a011d622a7c61324a97a49801ba425eff (patch)
treeaa2242d1ee40e9fa1d1b3ddded0d7f580be82853 /drivers/net/tun.c
parentdd07f8971b81ad98cc754b179b331b57f35aa1ff (diff)
downloadlinux-2c1a6a9a011d622a7c61324a97a49801ba425eff.tar.xz
net: tulip: de4x5: fix the problem that the array 'lp->phy[8]' may be out of bound
[ Upstream commit 61217be886b5f7402843677e4be7e7e83de9cb41 ] In line 5001, if all id in the array 'lp->phy[8]' is not 0, when the 'for' end, the 'k' is 8. At this time, the array 'lp->phy[8]' may be out of bound. Signed-off-by: zhangyue <zhangyue1@kylinos.cn> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net/tun.c')
0 files changed, 0 insertions, 0 deletions