diff options
author | 2021-11-18 13:46:32 +0800 | |
---|---|---|
committer | 2021-11-18 11:59:26 +0000 | |
commit | 61217be886b5f7402843677e4be7e7e83de9cb41 (patch) | |
tree | 47681275b5b3399144d45b3cf6a006cd1ad91fc8 /net/unix/af_unix.c | |
parent | Merge branch '40GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net- (diff) | |
download | wireguard-linux-61217be886b5f7402843677e4be7e7e83de9cb41.tar.xz wireguard-linux-61217be886b5f7402843677e4be7e7e83de9cb41.zip |
net: tulip: de4x5: fix the problem that the array 'lp->phy[8]' may be out of bound
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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions