Validate WEXT event iwe->u.data.length before using the event data
authorJouni Malinen <jouni.malinen@atheros.com>
Sat, 27 Sep 2008 07:49:56 +0000 (10:49 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 27 Sep 2008 07:49:56 +0000 (10:49 +0300)
commit36b5e559f1387d4e02059753ecfb04461d62f381
treec6b01535b5266e8881e58272b43a3a23b47fa213
parentfa2ec7eb634a0ed9dd9885d38ab6a49d23d218a1
Validate WEXT event iwe->u.data.length before using the event data

This is needed to avoid crashing wpa_supplicant with invalid event messages
that may be received when using 64-bit kernel with 32-bit userspace.
src/drivers/driver_wext.c