[PATCH] hostap: Fix unlikely read overrun in CIS parsing
authorJouni Malinen <jkmaline@cc.hut.fi>
Mon, 20 Mar 2006 03:21:47 +0000 (19:21 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 23 Mar 2006 21:16:58 +0000 (16:16 -0500)
commit3a1c42ad98fddab63e62b400ae98e6f609485efc
tree419225b1ff68508e04f08dfb98ca8b21d1e83fef
parent8abceaf1cf44b9d95bcc366fa277b33e292141c4
[PATCH] hostap: Fix unlikely read overrun in CIS parsing

The Coverity checker (CID: 452, 453, 454, 455, 456) spotted this
unlikely read overrun of CIS buffer. Abort if CISTPL_CONFIG or
CISTPL_MANFID would not fit in buffer.

Signed-off-by: Jouni Malinen <jkmaline@cc.hut.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/hostap/hostap_plx.c