Skip to content
Commit 9bdf7b2c authored by Pontus Fuchs's avatar Pontus Fuchs Committed by Greg Kroah-Hartman
Browse files

wl12xx: Check buffer bound when processing nvs data



commit f6efe96e upstream.

An nvs with malformed contents could cause the processing of the
calibration data to read beyond the end of the buffer. Prevent this
from happening by adding bound checking.

Signed-off-by: default avatarPontus Fuchs <pontus.fuchs@gmail.com>
Reviewed-by: default avatarLuciano Coelho <coelho@ti.com>
Signed-off-by: default avatarLuciano Coelho <coelho@ti.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 8bb12bb1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment