File lukemftp-1.5-segfault.patch of Package lukemftp

--- src/fetch.c
+++ src/fetch.c
@@ -546,11 +546,11 @@
 				/* check URL against list of no_proxied sites */
 			no_proxy = getoptionvalue("no_proxy");
 			if (! EMPTYSTRING(no_proxy)) {
-				char *np, *np_copy;
+				char *np, *np_copy, *np_copy_backup;
 				long np_port;
 				size_t hlen, plen;
 
-				np_copy = xstrdup(no_proxy);
+				np_copy_backup = np_copy = xstrdup(no_proxy);
 				hlen = strlen(host);
 				while ((cp = strsep(&np_copy, " ,")) != NULL) {
 					if (*cp == '\0')
@@ -573,7 +573,7 @@
 						break;
 					}
 				}
-				FREEPTR(np_copy);
+				FREEPTR(np_copy_backup);
 			}
 
 			if (isproxy) {