]> andersk Git - openssh.git/blobdiff - servconf.c
- markus@cvs.openbsd.org 2005/05/16 15:30:51
[openssh.git] / servconf.c
index 96ad18084c1b0c2d6a5897dae56d2b239b38ef01..ddb34f9b92fb3855d8e0c47115316499444216e8 100644 (file)
@@ -10,7 +10,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: servconf.c,v 1.140 2005/03/10 22:01:05 deraadt Exp $");
+RCSID("$OpenBSD: servconf.c,v 1.141 2005/05/16 15:30:51 markus Exp $");
 
 #include "ssh.h"
 #include "log.h"
@@ -532,6 +532,9 @@ parse_time:
 
        case sAddressFamily:
                arg = strdelim(&cp);
+               if (!arg || *arg == '\0')
+                       fatal("%s line %d: missing address family.",
+                           filename, linenum);
                intptr = &options->address_family;
                if (options->listen_addrs != NULL)
                        fatal("%s line %d: address family must be specified before "
This page took 0.032116 seconds and 4 git commands to generate.