git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e97b0d
)
iwlwifi: mvm: rs: fix a potential NULL deref
author
Eyal Shapira
<eyal@wizery.com>
Mon, 23 Dec 2013 14:26:41 +0000
(16:26 +0200)
committer
Emmanuel Grumbach
<emmanuel.grumbach@intel.com>
Tue, 31 Dec 2013 17:03:52 +0000
(19:03 +0200)
Found by klocwork analysis.
mvm could be NULL which may cause a NULL dereference
in a theoretical call flow
rs_fill_lq_cmd(mvm = NULL, ...)
rs_build_rates_table
rs_fill_rates_for_column
ucode_rate_from_rs_rate
IWL_ERR(mvm,...)
No real reason for passing NULL to rs_fill_lq_cmd so fix that.
Reported-by: Eytan Lifshitz <eytan.lifshitz@intel.com>
Signed-off-by: Eyal Shapira <eyal@wizery.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/rs.c
patch
|
blob
|
history
diff --cc
drivers/net/wireless/iwlwifi/mvm/rs.c
Simple merge