summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2013-07-30 17:18:15 -0700
committerJohn W. Linville <linville@tuxdriver.com>2013-08-01 15:34:35 -0400
commitc3afd99fb5adfb31925f0b493a0d4152cd6447cc (patch)
treeab32f800a9ef13b1a328018232ed8fa1639b45cd /Documentation
parent7546ff95499781306e8fd7d84ae38b84be961364 (diff)
downloadlinux-c3afd99fb5adfb31925f0b493a0d4152cd6447cc.tar.bz2
mwifiex: fix adapter pointer dereference issue
It has introduced by recent commit 6b41f941d7cd: "mwifiex: handle driver initialization error paths" which adds error path handling for mwifiex_fw_dpc(). release_firmware(adapter->*) is called for success as well as failure paths. In failure paths, adapter is already freed at this point. The issue is fixed by moving mwifiex_free_adapter() call. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions