commit | f6efe96edd9c41c624c8f4ddbc4930c1a2d8f1e1 | [log] [tgz] |
---|---|---|
author | Pontus Fuchs <pontus.fuchs@gmail.com> | Tue Oct 18 09:23:42 2011 +0200 |
committer | Luciano Coelho <coelho@ti.com> | Thu Dec 01 15:55:42 2011 +0200 |
tree | 45c3098bce60b712b9a33a4fbfef73a5b6c030c3 | |
parent | 2131d3c2f99b081806fdae7662c92fe6acda52af [diff] |
wl12xx: Check buffer bound when processing nvs data 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: Pontus Fuchs <pontus.fuchs@gmail.com> Cc: stable@kernel.org Reviewed-by: Luciano Coelho <coelho@ti.com> Signed-off-by: Luciano Coelho <coelho@ti.com>