Coverity CID 2984: Static array overrun.

This commit is contained in:
christos 2006-05-25 03:02:25 +00:00
parent df7031b876
commit 785022eb47
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ static int
bsd_configure_wpa(struct bsd_driver_data *drv) bsd_configure_wpa(struct bsd_driver_data *drv)
{ {
static const char *ciphernames[] = static const char *ciphernames[] =
{ "WEP", "TKIP", "AES-OCB", "AES-CCM", "CKIP", "NONE" }; { "WEP", "TKIP", "AES-OCB", "AES-CCM", "*BAD*", "CKIP", "NONE" };
hostapd *hapd = drv->hapd; hostapd *hapd = drv->hapd;
struct hostapd_config *conf = hapd->conf; struct hostapd_config *conf = hapd->conf;
int v; int v;