Fixed a buffer overflow in nla_parse call
authorJouni Malinen <j@w1.fi>
Fri, 6 Jun 2008 13:51:17 +0000 (16:51 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 6 Jun 2008 13:51:17 +0000 (16:51 +0300)
commit3f3339dfe736c051ea80ef5a24bd1651e397224c
tree3cc256c4b35591b29ff136cb87377623266bf162
parentf3833aee90edbebd692669ead38cbf550a8cb007
Fixed a buffer overflow in nla_parse call

The first argument (tb) to nla_parse must have room for maxtype+1, not
maxtype, elements.
hostapd/driver_nl80211.c