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

Diff for /src/usr.bin/ssh/moduli.c between version 1.34 and 1.35

version 1.34, 2019/01/23 09:49:00 version 1.35, 2019/07/03 03:24:02
Line 447 
Line 447 
         int r;          int r;
   
         r = snprintf(tmp, sizeof(tmp), "%s.XXXXXXXXXX", cpfile);          r = snprintf(tmp, sizeof(tmp), "%s.XXXXXXXXXX", cpfile);
         if (r == -1 || r >= PATH_MAX) {          if (r < 0 || r >= PATH_MAX) {
                 logit("write_checkpoint: temp pathname too long");                  logit("write_checkpoint: temp pathname too long");
                 return;                  return;
         }          }

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35