OpenCloudOS-Kernel/drivers/net/ethernet/qlogic
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
..
netxen net: netxen: fix code indentation 2021-10-29 13:34:42 +01:00
qed net: qed: fix the array may be out of bound 2021-11-26 11:29:20 -08:00
qede ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
qlcnic ethernet: use eth_hw_addr_set() for dev->addr_len cases 2021-10-05 13:16:48 +01:00
Kconfig ethernet: fix PTP_1588_CLOCK dependencies 2021-08-13 17:49:05 -07:00
Makefile qlge: Move drivers/net/ethernet/qlogic/qlge/ to drivers/staging/qlge/ 2019-07-23 11:29:40 -07:00
qla3xxx.c ethernet: replace netdev->dev_addr 16bit writes 2021-10-14 09:22:27 -07:00
qla3xxx.h net/qla3xxx: Convert to SPDX license identifiers 2020-09-16 14:32:31 +02:00