summaryrefslogtreecommitdiff
path: root/ftp/wget/files/patch-src__retr.c
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2010-09-06 16:54:23 +0000
committerVasil Dimov <vd@FreeBSD.org>2010-09-06 16:54:23 +0000
commit531380b01703f5a33b4cc81b24bc010975490276 (patch)
treebb4d6091a044b1694ec25a13d75331856e345724 /ftp/wget/files/patch-src__retr.c
parentAdd missing bsd.port.options.mk include. (diff)
Apply patch from upstream for CVE-2010-2252.
This is revision-id:gscrivano@gnu.org-20100728192222-sy6rf3fgeydgvl1k from http://bzr.savannah.gnu.org/r/wget/trunk/ without the change to src/ftp.c because it is a whitespace only change. PR: ports/150293 Submitted by: Joe Horn <joehorn@gmail.com> Security: CVE-2010-2252
Notes
Notes: svn path=/head/; revision=260647
Diffstat (limited to 'ftp/wget/files/patch-src__retr.c')
-rw-r--r--ftp/wget/files/patch-src__retr.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/ftp/wget/files/patch-src__retr.c b/ftp/wget/files/patch-src__retr.c
new file mode 100644
index 000000000000..666b3d29c182
--- /dev/null
+++ b/ftp/wget/files/patch-src__retr.c
@@ -0,0 +1,13 @@
+--- src/retr.c 2010-05-08 19:56:15 +0000
++++ src/retr.c 2010-07-28 19:22:22 +0000
+@@ -731,7 +731,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)
+ {
+