Coverity CID 2984: Static array overrun.
This commit is contained in:
parent
df7031b876
commit
785022eb47
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue