commit | 74b3ec596b27d715cbab766fac593dc43baf194c | [log] [tgz] |
---|---|---|
author | Jeff Johnson <jjohnson@qca.qualcomm.com> | Wed Apr 03 13:45:51 2013 -0700 |
committer | Gopichand Nakkala <gnakkala@qca.qualcomm.com> | Fri Apr 05 13:23:37 2013 -0700 |
tree | 5cdaf172f3239d259f672ff272a0d7e95df961e4 | |
parent | 278b049da720d03d2dfefa65b1affbcb50932357 [diff] |
wlan: Fix NULL pointer dereference in csrRoamIssueSetKeyCommand() Static source code analysis identified a potential NULL pointer dereference which could occur in csrRoamIssueSetKeyCommand() when FEATURE_WLAN_CCX is enabled due to the order of operations. Update the code so that csrReleaseCommandSetKey() can only be called if pCommand is not NULL. Change-Id: Id7e822f2be02bcbefd5d6e6d502b0c7d3b4496ae CRs-fixed: 470188