2006-01-16 Robert Love <rml@novell.com>

* src/nm-device-802-11-wireless.c: argv[3], not argv[4].  Fix
	  uninitialized parameter and buffer overflow.  Novell #143496.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1348 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Robert Love 2006-01-17 15:20:33 +00:00 committed by Robert Love
parent a22b1bdb5c
commit 30c812e9aa
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2006-01-16 Robert Love <rml@novell.com>
* 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 <dcbw@redhat.com>
Apply the PtP Address bits of a patch from Tim Niemueller

View file

@ -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)))
{