projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fdba18
)
wget: fix bug 1057 "busybox wget segfaults with http_proxy environment set"
author
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 11 Feb 2010 03:23:43 +0000
(
04:23
+0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 11 Feb 2010 03:23:43 +0000
(
04:23
+0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/wget.c
patch
|
blob
|
history
diff --git
a/networking/wget.c
b/networking/wget.c
index 2b9ba55c36f9f296b770df5ebdaac845479f4dfa..5b73b933b7ffbef16e70ee983f2bebabd92db663 100644
(file)
--- 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;