From: Ivo van Doorn Date: Fri, 23 Jan 2009 16:03:24 +0000 (+0100) Subject: rt2x00: Restrict firmware file lengths X-Git-Tag: v2.6.30-rc1~662^2~836^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9752a7bd7f36557f34283f5d75dfa32578437f08;p=pandora-kernel.git rt2x00: Restrict firmware file lengths Add extra security to the drivers for firmware loading, check the firmware file length before uploading it to the hardware. Incorrect lengths might indicate a firmware upgrade (which is not yet supported by the driver) or otherwise incorrect firmware. Signed-off-by: Ivo van Doorn Signed-off-by: John W. Linville --- Reading git-diff-tree failed