[Bug 1057] busybox wget segfaults with http_proxy environment set

bugzilla at busybox.net bugzilla at busybox.net
Tue Feb 9 19:21:09 UTC 2010


https://bugs.busybox.net/show_bug.cgi?id=1057





--- Comment #4 from Leonid <lly.dev at gmail.com>  2010-02-09 19:21:08 UTC ---
I apologize that it is by-effect of commit
be168b119750beacc0d0212607c6fa3ee87f238c

try patch below
--- a/networking/wget.c 2010-02-09 22:17:50.000000000 +0300
+++ b/networking/wget.c 2010-02-09 22:18:32.000000000 +0300
@@ -590,6 +590,7 @@ int wget_main(int argc UNUSED_PARAM, cha
        if (use_proxy) {
                proxy = getenv(target.is_ftp ? "ftp_proxy" : "http_proxy");
                if (proxy && proxy[0]) {
+                       server.user = NULL;
                        parse_url(proxy, &server);
                } else {
                        use_proxy = 0;


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list