commit | 9752a7bd7f36557f34283f5d75dfa32578437f08 | [log] [tgz] |
---|---|---|
author | Ivo van Doorn <ivdoorn@gmail.com> | Fri Jan 23 17:03:24 2009 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Thu Jan 29 16:01:26 2009 -0500 |
tree | e936bbb3fb126c85d2ed3afd1e473c657776c647 | |
parent | 6ba265e9cc764bc401cda284954cf2bdd4408c38 [diff] |
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 <IvDoorn@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>