summaryrefslogtreecommitdiffstats
path: root/net/mac802154
diff options
context:
space:
mode:
authorBing Zhao <bzhao@marvell.com>2014-07-14 20:53:34 -0700
committerJohn W. Linville <linville@tuxdriver.com>2014-07-16 09:57:58 -0400
commitf95f59fe5d2b05a0333214eeba78690081ee5f70 (patch)
tree5463614b71ab393a3988a559f00b112923050dd0 /net/mac802154
parent6daf43216fd5171f0f44504226efeb5563538f66 (diff)
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 'net/mac802154')
0 files changed, 0 insertions, 0 deletions