]> git.baikalelectronics.ru Git - kernel.git/commit
Hostap: copying wrong data prism2_ioctl_giwaplist()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 9 Aug 2013 09:52:31 +0000 (12:52 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 9 Aug 2013 18:01:21 +0000 (14:01 -0400)
commitea8d7f5ea70af05635ce0f0c05ced01ff142aee4
tree0b835315a3adb9468e09d505652a7352bea01fbb
parenta30c05efb8b625909b2c3e3eea7f8f72744d7de6
Hostap: copying wrong data prism2_ioctl_giwaplist()

We want the data stored in "addr" and "qual", but the extra ampersands
mean we are copying stack data instead.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: stable@vger.kernel.org
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/hostap/hostap_ioctl.c