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

Diff for /src/usr.bin/ssh/sftp-server.c between version 1.129 and 1.130

version 1.129, 2021/08/09 23:47:44 version 1.130, 2021/11/06 10:13:39
Line 1522 
Line 1522 
                         npath = xstrdup(path + 2);                          npath = xstrdup(path + 2);
                         free(path);                          free(path);
                         xasprintf(&path, "%s/%s", cwd, npath);                          xasprintf(&path, "%s/%s", cwd, npath);
                           free(npath);
                 } else {                  } else {
                         /* ~user expansions */                          /* ~user expansions */
                         if (tilde_expand(path, pw->pw_uid, &npath) != 0) {                          if (tilde_expand(path, pw->pw_uid, &npath) != 0) {

Legend:
Removed from v.1.129  
changed lines
  Added in v.1.130