From: Pontus Fuchs Date: Tue, 18 Oct 2011 07:23:42 +0000 (+0200) Subject: wl12xx: Check buffer bound when processing nvs data X-Git-Tag: v3.3-rc1~182^2~261^2~2^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6efe96edd9c41c624c8f4ddbc4930c1a2d8f1e1;p=pandora-kernel.git 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 Cc: stable@kernel.org Reviewed-by: Luciano Coelho Signed-off-by: Luciano Coelho --- Reading git-diff-tree failed