Staging: otus: off by one in usbdrvwext_siwessid()
authorDan Carpenter <error27@gmail.com>
Mon, 28 Dec 2009 17:01:34 +0000 (19:01 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:42:39 +0000 (16:42 -0800)
commit1c7e4a7c326c916918b5a29051db4f93973e775a
treec0da24d3c385086ba829e75235d0154441af0c76
parented30013207ef3e36da4f39db1298ae53f799e29c
Staging: otus: off by one in usbdrvwext_siwessid()

A 33 char ESSID is too long and it could cause a buffer overflow
a couple lines below when we put a NULL terminator on the end.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/otus/ioctl.c