From 8b8c4d1c4eb0370a3000f63cc029a8f4aa88730f Mon Sep 17 00:00:00 2001 From: Daniel Williams Date: Wed, 27 Aug 2008 21:21:51 +0000 Subject: [PATCH] Remove fuzz --- wpa_supplicant-0.5.7-use-IW_ENCODE_TEMP.patch | 25 +++++++++---------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/wpa_supplicant-0.5.7-use-IW_ENCODE_TEMP.patch b/wpa_supplicant-0.5.7-use-IW_ENCODE_TEMP.patch index 53d423b..0661c5e 100644 --- a/wpa_supplicant-0.5.7-use-IW_ENCODE_TEMP.patch +++ b/wpa_supplicant-0.5.7-use-IW_ENCODE_TEMP.patch @@ -1,26 +1,25 @@ -Index: wpa_supplicant-0.6.3/src/drivers/driver_wext.c -=================================================================== ---- wpa_supplicant-0.6.3/src/drivers/driver_wext.c.orig 2006-07-13 11:23:05.000000000 +0200 -+++ wpa_supplicant-0.6.3/src/drivers/driver_wext.c 2006-07-13 11:23:57.000000000 +0200 -@@ -1280,6 +1280,7 @@ static int wpa_driver_wext_set_key_ext(v - memset(&iwr, 0, sizeof(iwr)); - strncpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); +diff -up wpa_supplicant-0.6.4/src/drivers/driver_wext.c.use-IW_ENCODE_TEMP wpa_supplicant-0.6.4/src/drivers/driver_wext.c +--- wpa_supplicant-0.6.4/src/drivers/driver_wext.c.use-IW_ENCODE_TEMP 2008-08-10 13:33:12.000000000 -0400 ++++ wpa_supplicant-0.6.4/src/drivers/driver_wext.c 2008-08-27 17:22:06.000000000 -0400 +@@ -1836,6 +1836,7 @@ static int wpa_driver_wext_set_key_ext(v + os_memset(&iwr, 0, sizeof(iwr)); + os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); iwr.u.encoding.flags = key_idx + 1; + iwr.u.encoding.flags |= IW_ENCODE_TEMP; if (alg == WPA_ALG_NONE) iwr.u.encoding.flags |= IW_ENCODE_DISABLED; iwr.u.encoding.pointer = (caddr_t) ext; -@@ -1401,6 +1402,7 @@ int wpa_driver_wext_set_key(void *priv, - memset(&iwr, 0, sizeof(iwr)); - strncpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); +@@ -1967,6 +1968,7 @@ int wpa_driver_wext_set_key(void *priv, + os_memset(&iwr, 0, sizeof(iwr)); + os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); iwr.u.encoding.flags = key_idx + 1; + iwr.u.encoding.flags |= IW_ENCODE_TEMP; if (alg == WPA_ALG_NONE) iwr.u.encoding.flags |= IW_ENCODE_DISABLED; iwr.u.encoding.pointer = (caddr_t) key; -@@ -1415,6 +1417,7 @@ int wpa_driver_wext_set_key(void *priv, - memset(&iwr, 0, sizeof(iwr)); - strncpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); +@@ -1981,6 +1983,7 @@ int wpa_driver_wext_set_key(void *priv, + os_memset(&iwr, 0, sizeof(iwr)); + os_strlcpy(iwr.ifr_name, drv->ifname, IFNAMSIZ); iwr.u.encoding.flags = key_idx + 1; + iwr.u.encoding.flags |= IW_ENCODE_TEMP; iwr.u.encoding.pointer = (caddr_t) NULL;