aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/sta_ioctl.c
diff options
context:
space:
mode:
authorBing Zhao <bzhao@marvell.com>2014-01-08 15:45:56 -0800
committerJohn W. Linville <linville@tuxdriver.com>2014-01-09 10:56:40 -0500
commit63791ccd4690e5c6b3f060bcd2b846e31bd0b423 (patch)
treeae3353022595d1dcffb30641aa9e6f60139c4f5f /drivers/net/wireless/mwifiex/sta_ioctl.c
parentwil6210: prefetch head of packet (diff)
downloadlinux-dev-63791ccd4690e5c6b3f060bcd2b846e31bd0b423.tar.xz
linux-dev-63791ccd4690e5c6b3f060bcd2b846e31bd0b423.zip
mwifiex: fix potential buffer overflow in dt configuration
If cfgdata length exceeds the command buffer size we will end up getting buffer overflow problem. Fix it by checking the buffer size less the command header length. Reviewed-by: Paul Stewart <pstew@chromium.org> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/sta_ioctl.c')
0 files changed, 0 insertions, 0 deletions