summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mwifiex/join.c
diff options
context:
space:
mode:
authorLuciano Coelho <luciano.coelho@intel.com>2014-11-10 10:25:17 +0300
committerJohn W. Linville <linville@tuxdriver.com>2014-11-12 00:31:16 +0300
commitf5b8f4790bb5dfd541f9d61589357ea6042cc668 (patch)
tree550aa0c43dfdc44c6d6623bda54ec2142f420e9b /drivers/net/wireless/mwifiex/join.c
parent0d4b5c7c0892cb377cc71c388433425f598b902b (diff)
downloadlinux-f5b8f4790bb5dfd541f9d61589357ea6042cc668.tar.xz
wlcore: check minimum buffer size in some cmd_send functions
Check for the minimum required buffer length in wlcore_cmd_send() and wlcore_cmd_configure_failsafe. This ensures that we will never try to use a buffer that is smaller than the required header. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Luciano Coelho <luciano.coelho@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/join.c')
0 files changed, 0 insertions, 0 deletions