commit | 5f34620c1dbd5897101e0b5b80a06bad008e3b3b | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Fri Aug 14 12:23:17 2020 +0200 |
committer | Luca Coelho <luciano.coelho@intel.com> | Sun Dec 06 13:00:08 2020 +0200 |
tree | bffa9441e5836c7d4269c6fc9b25735be16fa6b5 | |
parent | 659be1a58d2ea901490d6325b1c64dd7612ea7a6 [diff] |
iwlwifi: mvm: validate firmware sync response size We send some data to the firmware and expect to get it back, but we shouldn't really trust the firmware on this. Check the size of all the data we send down to avoid using bad or just uninitialized data when the firmware doesn't respond right. Change-Id: I4fa68bb2b1c7dcc52ddd381c4042722d27c4a34d Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>