https://github.com/torvalds/linux
Revision 61217be886b5f7402843677e4be7e7e83de9cb41 authored by zhangyue on 18 November 2021, 05:46:32 UTC, committed by David S. Miller on 18 November 2021, 11:59:26 UTC
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>
1 parent 4e5d212
History
Tip revision: 61217be886b5f7402843677e4be7e7e83de9cb41 authored by zhangyue on 18 November 2021, 05:46:32 UTC
net: tulip: de4x5: fix the problem that the array 'lp->phy[8]' may be out of bound
Tip revision: 61217be
File Mode Size
kvm
lib
Makefile -rw-r--r-- 54 bytes

back to top