[BACK]Return to readconf.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/readconf.c between version 1.356 and 1.357

version 1.356, 2021/06/08 07:07:15 version 1.357, 2021/06/08 22:06:12
Line 1229 
Line 1229 
                 max_entries = SSH_MAX_HOSTS_FILES;                  max_entries = SSH_MAX_HOSTS_FILES;
 parse_char_array:  parse_char_array:
                 i = 0;                  i = 0;
                   value = *uintptr == 0; /* was array empty when we started? */
                 while ((arg = argv_next(&ac, &av)) != NULL) {                  while ((arg = argv_next(&ac, &av)) != NULL) {
                         if (*arg == '\0') {                          if (*arg == '\0') {
                                 error("%s line %d: keyword %s empty argument",                                  error("%s line %d: keyword %s empty argument",
Line 1245 
Line 1246 
                                 }                                  }
                         }                          }
                         i++;                          i++;
                         if (*activep && *uintptr == 0) {                          if (*activep && value) {
                                 if ((*uintptr) >= max_entries) {                                  if ((*uintptr) >= max_entries) {
                                         error("%s line %d: too many %s "                                          error("%s line %d: too many %s "
                                             "entries.", filename, linenum,                                              "entries.", filename, linenum,

Legend:
Removed from v.1.356  
changed lines
  Added in v.1.357