From 531380b01703f5a33b4cc81b24bc010975490276 Mon Sep 17 00:00:00 2001 From: Vasil Dimov Date: Mon, 6 Sep 2010 16:54:23 +0000 Subject: 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 Security: CVE-2010-2252 --- ftp/wget/files/patch-src__retr.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 ftp/wget/files/patch-src__retr.c (limited to 'ftp/wget/files/patch-src__retr.c') 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) + { + -- cgit v1.2.3