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
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 16.6 KB
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 71 bytes
.gitattributes -rw-r--r-- 62 bytes
.gitignore -rw-r--r-- 1.9 KB
.mailmap -rw-r--r-- 20.2 KB
COPYING -rw-r--r-- 496 bytes
CREDITS -rw-r--r-- 98.6 KB
Kbuild -rw-r--r-- 1.3 KB
Kconfig -rw-r--r-- 555 bytes
MAINTAINERS -rw-r--r-- 615.3 KB
Makefile -rw-r--r-- 64.3 KB
README -rw-r--r-- 727 bytes

README

back to top