diff options
author | Tom McLaughlin <tmclaugh@FreeBSD.org> | 2008-03-05 04:25:42 +0000 |
---|---|---|
committer | Tom McLaughlin <tmclaugh@FreeBSD.org> | 2008-03-05 04:25:42 +0000 |
commit | 55eb3e28b1d7e0e1ba4f07d2b4c86fea60ab0178 (patch) | |
tree | 8bd82f85ae80fb577b1f532db744d49c4dfa8560 /security/openssh/files/patch-misc.c | |
parent | Upgrade to 20080302 (diff) |
- expire port: Long out of date with multiple security issues.
(Don't worry, openssh-portable is still there.)
Diffstat (limited to 'security/openssh/files/patch-misc.c')
-rw-r--r-- | security/openssh/files/patch-misc.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/security/openssh/files/patch-misc.c b/security/openssh/files/patch-misc.c deleted file mode 100644 index b40e6d62ba4c..000000000000 --- a/security/openssh/files/patch-misc.c +++ /dev/null @@ -1,28 +0,0 @@ ---- misc.c Mon Dec 23 02:44:36 2002 -+++ misc.c Wed Sep 17 00:50:27 2003 -@@ -308,18 +308,21 @@ addargs(arglist *args, char *fmt, ...) - { - va_list ap; - char buf[1024]; -+ int nalloc; - - va_start(ap, fmt); - vsnprintf(buf, sizeof(buf), fmt, ap); - va_end(ap); - -+ nalloc = args->nalloc; - if (args->list == NULL) { -- args->nalloc = 32; -+ nalloc = 32; - args->num = 0; -- } else if (args->num+2 >= args->nalloc) -- args->nalloc *= 2; -+ } else if (args->num+2 >= nalloc) -+ nalloc *= 2; - -- args->list = xrealloc(args->list, args->nalloc * sizeof(char *)); -+ args->list = xrealloc(args->list, nalloc * sizeof(char *)); -+ args->nalloc = nalloc; - args->list[args->num++] = xstrdup(buf); - args->list[args->num] = NULL; - } |