]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
Staging: wlan-ng: cap the ssid length
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 31 Jan 2012 08:45:15 +0000 (11:45 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2012 17:51:47 +0000 (09:51 -0800)
commit2e254212942e483eba4753830268045ac87ea224
treee906624f238417c9aec93d481c99c1c0a12a68b6
parent881763361e8283a6d33d5a30ac6edc36e7dc6d44
Staging: wlan-ng: cap the ssid length

We're getting the ssid length from the scan here.  Let's cap it before
doing the memcpy().

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/prism2mgmt.c