-
由 Pontus Fuchs 提交于
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: NPontus Fuchs <pontus.fuchs@gmail.com> Cc: stable@kernel.org Reviewed-by: NLuciano Coelho <coelho@ti.com> Signed-off-by: NLuciano Coelho <coelho@ti.com>
f6efe96e