prism54: potential memory corruption in prism54_get_essid()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 21 Nov 2011 14:47:13 +0000 (17:47 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 21 Nov 2011 19:45:21 +0000 (14:45 -0500)
commit40f9cd299a0e5e8dcdde9b5eb9bfda1cb9109f61
treea189d20c2e6d6cff59d5d86eea065ba22a980f6b
parentde3584bd62d87b4c250129fbc46ca52c80330add
prism54: potential memory corruption in prism54_get_essid()

"dwrq->length" is the capped version of "essid->length".

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/prism54/isl_ioctl.c