summaryrefslogtreecommitdiff
path: root/ftp/gftp/files/patch-af
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2001-04-30 07:33:39 +0000
committerKris Kennaway <kris@FreeBSD.org>2001-04-30 07:33:39 +0000
commit687e227b48600d5219c914f402c170d303824d00 (patch)
tree8ccad32623f8114189dfb6bfd10889cf9405d96a /ftp/gftp/files/patch-af
parentDon't hard-code -O2 or -m486. This still doesn't respect CXX, but I (diff)
Upgrade to gftp 2.0.8 and mark FORBIDDEN. gftp 2.0.8 was a security update
to fix a remotely exploitable format string vulnerability, but in the course of trying to make the new version actually build I discovered that it also has local tempfile vulnerabilities, among other problems.
Notes
Notes: svn path=/head/; revision=42067
Diffstat (limited to '')
-rw-r--r--ftp/gftp/files/patch-af11
1 files changed, 11 insertions, 0 deletions
diff --git a/ftp/gftp/files/patch-af b/ftp/gftp/files/patch-af
new file mode 100644
index 000000000000..d9c376646a48
--- /dev/null
+++ b/ftp/gftp/files/patch-af
@@ -0,0 +1,11 @@
+--- ./src/text/gftp-text.h.orig Fri Feb 23 10:59:57 2001
++++ ./src/text/gftp-text.h Mon Apr 30 00:19:21 2001
+@@ -43,7 +43,7 @@
+ /* gftp-text.h */
+ void gftp_text_log ( gftp_logging_level level,
+ void *ptr,
+- const char *string, ... );
++ const char *string, ... ) __attribute__((format(printf, 3, 4)));
+ int gftp_text_open ( gftp_request * request,
+ char *command,
+ gpointer *data );