summaryrefslogtreecommitdiff
path: root/ftp/wget/files/patch-src__options.h
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__options.h
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__options.h')
-rw-r--r--ftp/wget/files/patch-src__options.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/ftp/wget/files/patch-src__options.h b/ftp/wget/files/patch-src__options.h
new file mode 100644
index 000000000000..e3d1f37bb687
--- /dev/null
+++ b/ftp/wget/files/patch-src__options.h
@@ -0,0 +1,12 @@
+--- src/options.h 2010-05-08 19:56:15 +0000
++++ src/options.h 2010-07-28 19:22:22 +0000
+@@ -242,6 +242,7 @@
+ char *encoding_remote;
+ char *locale;
+
++ bool trustservernames;
+ #ifdef __VMS
+ int ftp_stmlf; /* Force Stream_LF format for binary FTP. */
+ #endif /* def __VMS */
+
+=== modified file 'src/retr.c'