2015-06-24 12:11:59 +00:00
|
|
|
diff -up openssh/servconf.c.servconf openssh/servconf.c
|
|
|
|
--- openssh/servconf.c.servconf 2015-06-24 11:26:26.186527736 +0200
|
|
|
|
+++ openssh/servconf.c 2015-06-24 11:26:39.847493075 +0200
|
|
|
|
@@ -1815,6 +1815,8 @@ process_server_config_line(ServerOptions
|
2014-09-25 09:45:47 +00:00
|
|
|
break;
|
|
|
|
|
|
|
|
case sAuthenticationMethods:
|
|
|
|
+ if (cp == NULL || *cp == '\0')
|
|
|
|
+ fatal("%.200s line %d: Missing argument.", filename, linenum);
|
2015-06-24 12:11:59 +00:00
|
|
|
if (options->num_auth_methods == 0) {
|
2014-09-25 09:45:47 +00:00
|
|
|
while ((arg = strdelim(&cp)) && *arg != '\0') {
|
|
|
|
if (options->num_auth_methods >=
|