]> andersk Git - openssh.git/blobdiff - readconf.c
- (tim) [configure.ac] set TEST_SHELL for OpenServer 6
[openssh.git] / readconf.c
index 8ace1bbd454233996e96d48ca4aff7677e329d9c..d41220807ad0df0d9d38b969a2d477cb9b36af59 100644 (file)
@@ -12,7 +12,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: readconf.c,v 1.139 2005/03/10 22:01:05 deraadt Exp $");
+RCSID("$OpenBSD: readconf.c,v 1.140 2005/05/16 15:30:51 markus Exp $");
 
 #include "ssh.h"
 #include "xmalloc.h"
@@ -743,6 +743,9 @@ parse_int:
 
        case oAddressFamily:
                arg = strdelim(&s);
+               if (!arg || *arg == '\0')
+                       fatal("%s line %d: missing address family.",
+                           filename, linenum);
                intptr = &options->address_family;
                if (strcasecmp(arg, "inet") == 0)
                        value = AF_INET;
This page took 0.031256 seconds and 4 git commands to generate.