[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.130 and 1.131

version 1.130, 2021/11/06 10:13:39 version 1.131, 2021/11/08 21:32:49
Line 1526 
Line 1526 
                 } else {                  } else {
                         /* ~user expansions */                          /* ~user expansions */
                         if (tilde_expand(path, pw->pw_uid, &npath) != 0) {                          if (tilde_expand(path, pw->pw_uid, &npath) != 0) {
                                 send_status(id, errno_to_portable(EINVAL));                                  send_status(id, errno_to_portable(ENOENT));
                                 goto out;                                  goto out;
                         }                          }
                         free(path);                          free(path);

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