Searched hist:"0435 a4d0" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_int.c | 0435a4d0 Thu Nov 25 05:36:10 CST 2021 zhangyue <zhangyue1@kylinos.cn> 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>
|