]> git.karo-electronics.de Git - karo-tx-linux.git/commit
iwlwifi: check the size of the trigger struct from the firmware file
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 19 Mar 2015 21:14:06 +0000 (23:14 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 1 Apr 2015 16:52:48 +0000 (19:52 +0300)
commit2841a2d3a1b4b4e5cd22851928087b664a4dafad
tree54b3c74ac02ec7a1c390c6ba23ab585d851a0152
parent90cb12372bf2779406bd0378195d8b5357a06dc3
iwlwifi: check the size of the trigger struct from the firmware file

When we access the triggers we need to make sure that the
data we expect was actually provided by the firmware file.
Check this when we decode the triggers from the firmware
file.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/iwl-drv.c