Files
linux/drivers/net/ethernet/qlogic/qed
zhangyue 0435a4d080 net: qed: fix the array may be out of bound
If the variable 'p_bit->flags' is always 0,
the loop condition is always 0.

The variable 'j' may be greater than or equal to 32.

At this time, the array 'p_aeu->bits[32]' may be out
of bound.

Signed-off-by: zhangyue <zhangyue1@kylinos.cn>
Link: https://lore.kernel.org/r/20211125113610.273841-1-zhangyue1@kylinos.cn
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-11-26 11:29:20 -08:00
..
2021-10-04 12:55:48 +01:00
2021-10-04 12:55:49 +01:00
2021-10-04 12:55:49 +01:00
2021-10-04 12:55:48 +01:00
2021-10-04 12:55:48 +01:00
2021-10-04 12:55:48 +01:00
2020-06-30 15:51:40 -07:00
2021-10-04 12:55:49 +01:00
2021-10-18 15:58:21 -07:00
2020-06-30 15:51:40 -07:00
2020-06-30 15:51:40 -07:00
2021-10-04 12:55:48 +01:00
2021-10-04 12:55:49 +01:00
2021-10-04 12:55:49 +01:00