summaryrefslogtreecommitdiffstats
path: root/usr.sbin/wpa
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2006-05-27 23:03:08 +0000
committersam <sam@FreeBSD.org>2006-05-27 23:03:08 +0000
commitec7bf216388edfa9ee6c4239b4125aeb622d5f23 (patch)
tree050f5748cf693672c49f6fc9c8d2fd913ce61ef5 /usr.sbin/wpa
parent89da8ff1e0fe66070fd43d9c3f0d8590646dfa0b (diff)
downloadFreeBSD-src-ec7bf216388edfa9ee6c4239b4125aeb622d5f23.zip
FreeBSD-src-ec7bf216388edfa9ee6c4239b4125aeb622d5f23.tar.gz
correct static array overrun
Obtained from: netbsd
Diffstat (limited to 'usr.sbin/wpa')
-rw-r--r--usr.sbin/wpa/hostapd/driver_freebsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/wpa/hostapd/driver_freebsd.c b/usr.sbin/wpa/hostapd/driver_freebsd.c
index 0099c20..6c0cf67 100644
--- a/usr.sbin/wpa/hostapd/driver_freebsd.c
+++ b/usr.sbin/wpa/hostapd/driver_freebsd.c
@@ -129,7 +129,7 @@ static int
bsd_configure_wpa(struct bsd_driver_data *drv)
{
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;
struct hostapd_config *conf = hapd->conf;
int v;
OpenPOWER on IntegriCloud