diff options
author | 2021-11-25 19:36:10 +0800 | |
---|---|---|
committer | 2021-11-26 11:29:20 -0800 | |
commit | 0435a4d08032c8fba2966cebdac870e22238cacc (patch) | |
tree | fe2921e3354850085538e2516f80860a3b0134fb /net/unix/af_unix.c | |
parent | net/smc: Don't call clcsock shutdown twice when smc shutdown (diff) | |
download | wireguard-linux-0435a4d08032c8fba2966cebdac870e22238cacc.tar.xz wireguard-linux-0435a4d08032c8fba2966cebdac870e22238cacc.zip |
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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions