summaryrefslogtreecommitdiff
path: root/net/wget/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'net/wget/patches/patch-af')
-rw-r--r--net/wget/patches/patch-af20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/wget/patches/patch-af b/net/wget/patches/patch-af
new file mode 100644
index 00000000000..d4179795123
--- /dev/null
+++ b/net/wget/patches/patch-af
@@ -0,0 +1,20 @@
+$NetBSD: patch-af,v 1.6 2010/11/23 08:22:47 tron Exp $
+
+Back port of patch for CVE-2010-2252 for to version 1.12 of "wget" taken
+from Debian:
+
+http://packages.debian.org/sid/wget
+http://ftp.de.debian.org/debian/pool/main/w/wget/wget_1.12-2.1.debian.tar.gz
+
+--- src/retr.c.orig 2009-09-04 17:31:54.000000000 +0100
++++ src/retr.c 2010-11-22 18:53:25.000000000 +0000
+@@ -689,7 +689,8 @@
+ #endif
+ || (proxy_url && proxy_url->scheme == SCHEME_HTTP))
+ {
+- result = http_loop (u, &mynewloc, &local_file, refurl, dt, proxy_url, iri);
++ result = http_loop (u, orig_parsed, &mynewloc, &local_file, refurl, dt,
++ proxy_url, iri);
+ }
+ else if (u->scheme == SCHEME_FTP)
+ {