diff options
author | Liad Kaufman <liad.kaufman@intel.com> | 2014-01-27 16:34:23 +0200 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2014-02-03 22:23:42 +0200 |
commit | 84b0312eee685bd0b2ca250dcea7049c8be4b655 (patch) | |
tree | 14c3544d14d08ef4033a4c3760159ca3d252853f /drivers/net/wireless/iwlwifi/mvm/ops.c | |
parent | 034846cfd23e00a70b48363d70dccc3f8d537053 (diff) | |
download | op-kernel-dev-84b0312eee685bd0b2ca250dcea7049c8be4b655.zip op-kernel-dev-84b0312eee685bd0b2ca250dcea7049c8be4b655.tar.gz |
iwlwifi: fix potential buffer overrun in fw name
Fix a potential buffer overrun when creating the fw name
in drv->firmware_name by setting a maximal length to the
char array copied to it.
The maximal length is also updated to 32 rather than 25 to
keep both 32bit and 64bit alignment without requiring
padding to the struct it is in.
Signed-off-by: Liad Kaufman <liad.kaufman@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/ops.c')
0 files changed, 0 insertions, 0 deletions