Bugzilla – Attachment 2327 Details for
Bug 2129
sftp symlink incorrectly makes target path absolute
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
improved patch
sftp.diff (text/plain), 572 bytes, created by
Damien Miller
on 2013-08-08 14:44:01 AEST
(
hide
)
Description:
improved patch
Filename:
MIME Type:
Creator:
Damien Miller
Created:
2013-08-08 14:44:01 AEST
Size:
572 bytes
patch
obsolete
>Index: sftp.c >=================================================================== >RCS file: /cvs/src/usr.bin/ssh/sftp.c,v >retrieving revision 1.150 >diff -u -p -r1.150 sftp.c >--- sftp.c 7 Aug 2013 06:24:51 -0000 1.150 >+++ sftp.c 8 Aug 2013 04:42:33 -0000 >@@ -1337,7 +1337,8 @@ parse_dispatch_command(struct sftp_conn > case I_SYMLINK: > sflag = 1; > case I_LINK: >- path1 = make_absolute(path1, *pwd); >+ if (!sflag) >+ path1 = make_absolute(path1, *pwd); > path2 = make_absolute(path2, *pwd); > err = (sflag ? do_symlink : do_hardlink)(conn, path1, path2); > break;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2129
:
2319
| 2327