Files
linux/drivers/staging
Dan Carpenter e668dd8e47 staging: wlags49_h2: buffer overflow setting station name
commit b5e2f33986 upstream.

We need to check the length parameter before doing the memcpy().  I've
actually changed it to strlcpy() as well so that it's NUL terminated.

You need CAP_NET_ADMIN to trigger these so it's not the end of the
world.

Reported-by: Nico Golde <nico@ngolde.de>
Reported-by: Fabian Yamaguchi <fabs@goesec.de>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-11-13 12:05:33 +09:00
..
2013-11-13 12:05:33 +09:00
2013-05-05 00:15:43 -04:00
2013-05-05 00:15:43 -04:00
2013-05-30 21:14:30 +09:00
2013-05-05 00:15:43 -04:00
2013-05-05 00:15:43 -04:00
2013-05-05 00:15:43 -04:00
2013-04-19 11:15:20 -07:00