summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorBing Zhao <bzhao@marvell.com>2014-07-15 05:53:34 +0200
committerJohn W. Linville <linville@tuxdriver.com>2014-07-16 15:57:58 +0200
commitf95f59fe5d2b05a0333214eeba78690081ee5f70 (patch)
tree5463614b71ab393a3988a559f00b112923050dd0 /include
parentssb: extract antenna gains from SPROMs revs 4+ properly (diff)
downloadlinux-f95f59fe5d2b05a0333214eeba78690081ee5f70.tar.xz
linux-f95f59fe5d2b05a0333214eeba78690081ee5f70.zip
mwifiex: remove redundant TDLS setup action frame check and avoid leaks
The unwanted frame types are already handled in 'default' case of the switch/case below. The str_ptr is allocated but it can be leaked if the length check fails in the REQUEST/RESP cases. Fix it by allocating sta_ptr after the length checks. Reported-by: Paul Stewart <pstew@chromium.org> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: Avinash Patil <patila@marvell.com> Signed-off-by: Paul Stewart <pstew@chromium.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions