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

Diff for /src/usr.bin/ssh/clientloop.c between version 1.275.2.1 and 1.275.2.2

version 1.275.2.1, 2016/01/14 11:50:37 version 1.275.2.2, 2016/01/27 12:19:42
Line 357 
Line 357 
                                 return -1;                                  return -1;
                         }                          }
                         do_unlink = 1;                          do_unlink = 1;
                         if ((r = snprintf(xauthfile, sizeof(xauthfile),                          if ((r = snprintf(xauthfile, PATH_MAX,
                             "%s/xauthfile", xauthdir)) < 0 ||                              "%s/xauthfile", xauthdir)) < 0 ||
                             (size_t)r >= sizeof(xauthfile)) {                              (size_t)r >= PATH_MAX) {
                                 error("%s: xauthfile path too long", __func__);                                  error("%s: xauthfile path too long", __func__);
                                 unlink(xauthfile);                                  unlink(xauthfile);
                                 rmdir(xauthdir);                                  rmdir(xauthdir);

Legend:
Removed from v.1.275.2.1  
changed lines
  Added in v.1.275.2.2