[git commit master 1/1] wget: fix SEGV with multiple urls and redirection
Denys Vlasenko
vda.linux at googlemail.com
Mon Feb 14 22:56:07 UTC 2011
commit: http://git.busybox.net/busybox/commit/?id=57b4909db92ab403cc955e6cef4ea2b8318586b6
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Pere Orga <gotrunks at gmail.com>
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 6c015dc..cb169ab 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -805,6 +805,7 @@ However, in real world it was observed that some web servers
parse_url(str, &target);
if (!use_proxy) {
free(server.allocated);
+ server.allocated = NULL;
server.host = target.host;
/* strip_ipv6_scope_id(target.host); - no! */
/* we assume remote never gives us IPv6 addr with scope id */
--
1.7.3.4
More information about the busybox-cvs
mailing list