Commit 08fa656c authored by Dan Carpenter's avatar Dan Carpenter Committed by Felix Fietkau
Browse files

wifi: mt76: mt7925: fix off by one in mt7925_load_clc()



This comparison should be >= instead of > to prevent an out of bounds
read and write.

Fixes: 9679ca73 ("wifi: mt76: mt7925: fix a potential array-index-out-of-bounds issue for clc")
Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
Link: https://patch.msgid.link/84bf5dd2-2fe3-4410-a7af-ae841e41082a@stanley.mountain


Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent fbce6136
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment