summaryrefslogtreecommitdiff
path: root/security/ssh/patches/patch-ag
diff options
context:
space:
mode:
authortron <tron>1998-11-04 23:43:39 +0000
committertron <tron>1998-11-04 23:43:39 +0000
commit2b68ce9091da8eb4e0bd8e67d4d7755a114a5b78 (patch)
treea9808c6b8c5018d3f014c4e510cad9960a47221c /security/ssh/patches/patch-ag
parentbdb382d1c684125d64359138c98f3d81848e4b13 (diff)
downloadpkgsrc-2b68ce9091da8eb4e0bd8e67d4d7755a114a5b78.tar.gz
Add necessary security patches from PR pkg/6392 by Wolfgang Rupprecht
and convert old patch files to unified output format.
Diffstat (limited to 'security/ssh/patches/patch-ag')
-rw-r--r--security/ssh/patches/patch-ag58
1 files changed, 58 insertions, 0 deletions
diff --git a/security/ssh/patches/patch-ag b/security/ssh/patches/patch-ag
new file mode 100644
index 00000000000..277a1842559
--- /dev/null
+++ b/security/ssh/patches/patch-ag
@@ -0,0 +1,58 @@
+$NetBSD: patch-ag,v 1.1 1998/11/04 23:43:39 tron Exp $
+
+--- log-server.c.orig Wed Jul 8 18:40:36 1998
++++ log-server.c Thu Nov 5 00:31:23 1998
+@@ -134,7 +134,7 @@
+ if (log_quiet)
+ return;
+ va_start(args, fmt);
+- vsprintf(buf, fmt, args);
++ vsnprintf(buf, sizeof(buf), fmt, args);
+ va_end(args);
+ if (log_on_stderr)
+ fprintf(stderr, "log: %s\n", buf);
+@@ -175,7 +175,7 @@
+ if (log_quiet)
+ return;
+ va_start(args, fmt);
+- vsprintf(buf, fmt, args);
++ vsnprintf(buf, sizeof(buf), fmt, args);
+ va_end(args);
+ if (log_on_stderr)
+ fprintf(stderr, "log: %s\n", buf);
+@@ -191,7 +191,7 @@
+ if (!log_debug || log_quiet)
+ return;
+ va_start(args, fmt);
+- vsprintf(buf, fmt, args);
++ vsnprintf(buf, sizeof(buf), fmt, args);
+ va_end(args);
+ if (log_on_stderr)
+ fprintf(stderr, "debug: %s\n", buf);
+@@ -207,7 +207,7 @@
+ if (log_quiet)
+ return;
+ va_start(args, fmt);
+- vsprintf(buf, fmt, args);
++ vsnprintf(buf, sizeof(buf), fmt, args);
+ va_end(args);
+ if (log_on_stderr)
+ fprintf(stderr, "error: %s\n", buf);
+@@ -302,7 +302,7 @@
+ if (log_quiet)
+ exit(1);
+ va_start(args, fmt);
+- vsprintf(buf, fmt, args);
++ vsnprintf(buf, sizeof(buf), fmt, args);
+ va_end(args);
+ if (log_on_stderr)
+ fprintf(stderr, "fatal: %s\n", buf);
+@@ -321,7 +321,7 @@
+ if (log_quiet)
+ exit(1);
+ va_start(args, fmt);
+- vsprintf(buf, fmt, args);
++ vsnprintf(buf, sizeof(buf), fmt, args);
+ va_end(args);
+ if (log_on_stderr)
+ fprintf(stderr, "fatal: %s\n", buf);