Re: [PATCH] net: tulip: de4x5: fix the problem that the array 'lp->phy[8]' may be out of bound
From: Jakub Kicinski
Date: Wed Nov 17 2021 - 22:58:53 EST
On Sun, 14 Nov 2021 05:29:21 +0800 zhangyue wrote:
> 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@xxxxxxxxxx>
Please fix the date on your system and repost.