[Bug 1057] busybox wget segfaults with http_proxy environment set
bugzilla at busybox.net
bugzilla at busybox.net
Wed Feb 10 07:52:26 UTC 2010
https://bugs.busybox.net/show_bug.cgi?id=1057
--- Comment #5 from Natanael Copa <natanael.copa at gmail.com> 2010-02-10 07:52:23 UTC ---
> 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;
>
works.
Please commit this to git master and 1_16_stable branch
thanks!
--
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