[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.269 and 1.270

version 1.269, 2017/03/10 03:24:48 version 1.270, 2017/03/10 04:27:32
Line 1705 
Line 1705 
     int flags, int *activep, int depth)      int flags, int *activep, int depth)
 {  {
         FILE *f;          FILE *f;
         char line[1024];          char line[4096];
         int linenum;          int linenum;
         int bad_options = 0;          int bad_options = 0;
   
Line 1735 
Line 1735 
         while (fgets(line, sizeof(line), f)) {          while (fgets(line, sizeof(line), f)) {
                 /* Update line number counter. */                  /* Update line number counter. */
                 linenum++;                  linenum++;
                   if (strlen(line) == sizeof(line) - 1)
                           fatal("%s line %d too long", filename, linenum);
                 if (process_config_line_depth(options, pw, host, original_host,                  if (process_config_line_depth(options, pw, host, original_host,
                     line, filename, linenum, activep, flags, depth) != 0)                      line, filename, linenum, activep, flags, depth) != 0)
                         bad_options++;                          bad_options++;

Legend:
Removed from v.1.269  
changed lines
  Added in v.1.270