[git commit master] wget: fix bug 1057 "busybox wget segfaults with http_proxy environment set"
Denys Vlasenko
vda.linux at googlemail.com
Thu Feb 11 03:23:43 UTC 2010
commit: http://git.busybox.net/busybox/commit/?id=81fe2b15f38b02ed7dc1a18f8d126aa8fd411eb3
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
networking/wget.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/networking/wget.c b/networking/wget.c
index 2b9ba55..5b73b93 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -592,6 +592,7 @@ int wget_main(int argc UNUSED_PARAM, char **argv)
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;
--
1.6.3.3
More information about the busybox-cvs
mailing list