diff options
author | Pontus Fuchs <pontus.fuchs@gmail.com> | 2011-10-18 09:23:42 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2012-01-12 11:35:02 -0800 |
commit | a7b8c32b67b60fe9e8b53bb86bb7a04631e6e262 (patch) | |
tree | fa30a9638c3063b0b65bcfde0025a1438bee4e17 /arch/powerpc/kernel | |
parent | 4b2bb3c98c134fb26332afd5ad54078c53a30c44 (diff) |
wl12xx: Check buffer bound when processing nvs data
commit f6efe96edd9c41c624c8f4ddbc4930c1a2d8f1e1 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: Pontus Fuchs <pontus.fuchs@gmail.com>
Reviewed-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/powerpc/kernel')
0 files changed, 0 insertions, 0 deletions