diff --git a/ChangeLog b/ChangeLog index f4b30e0970..09538213d4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-01-16 Robert Love + + * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix + uninitialized parameter and buffer overflow. Novell #143496. + 2006-01-16 Dan Williams Apply the PtP Address bits of a patch from Tim Niemueller diff --git a/src/nm-device-802-11-wireless.c b/src/nm-device-802-11-wireless.c index f3ff7d3bb9..4e1de2405e 100644 --- a/src/nm-device-802-11-wireless.c +++ b/src/nm-device-802-11-wireless.c @@ -2408,7 +2408,7 @@ supplicant_exec (NMDevice80211Wireless *self) argv[0] = WPA_SUPPLICANT_BINARY; argv[1] = "-g"; argv[2] = WPA_SUPPLICANT_GLOBAL_SOCKET; - argv[4] = NULL; + argv[3] = NULL; if (!(success = g_spawn_async ("/", argv, NULL, 0, NULL, NULL, &pid, &error))) {