diff options
| author | zhangyue <zhangyue1@kylinos.cn> | 2021-11-18 13:46:32 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-12-08 08:44:07 +0100 |
| commit | ec5bd0aef1cec96830d0c7e06d3597d9e786cc98 (patch) | |
| tree | 031e383c2aa94bddbdf91ca8ace15f431d5754cd /scripts/stackusage | |
| parent | ecb534f3481b09f9fb4101301848c0e638bac433 (diff) | |
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 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
