diff options
author | 2003-06-26 20:08:33 +0000 | |
---|---|---|
committer | 2003-06-26 20:08:33 +0000 | |
commit | 6c7c51dd1301e1a94d22ddaecfc5d54995207edb (patch) | |
tree | d0a6db1e4841aa2bbc45b07efa8bf0ce059e080f | |
parent | .It macros in item lists do not take arguments -> (diff) | |
download | wireguard-openbsd-6c7c51dd1301e1a94d22ddaecfc5d54995207edb.tar.xz wireguard-openbsd-6c7c51dd1301e1a94d22ddaecfc5d54995207edb.zip |
do not dump core for 'ssh -o proxycommand host'; ok deraadt@
-rw-r--r-- | usr.bin/ssh/readconf.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/readconf.c b/usr.bin/ssh/readconf.c index 7af9af25fae..9c4bd8bf33c 100644 --- a/usr.bin/ssh/readconf.c +++ b/usr.bin/ssh/readconf.c @@ -12,7 +12,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: readconf.c,v 1.112 2003/05/16 03:27:12 djm Exp $"); +RCSID("$OpenBSD: readconf.c,v 1.113 2003/06/26 20:08:33 markus Exp $"); #include "ssh.h" #include "xmalloc.h" @@ -544,6 +544,8 @@ parse_string: goto parse_string; case oProxyCommand: + if (s == NULL) + fatal("%.200s line %d: Missing argument.", filename, linenum); charptr = &options->proxy_command; len = strspn(s, WHITESPACE "="); if (*activep && *charptr == NULL) |