Bugzilla – Attachment 2319 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]
patch to address sftp chroot symlink issue
sftp.diff (text/plain), 567 bytes, created by
Xin Li
on 2013-07-25 07:34:39 AEST
(
hide
)
Description:
patch to address sftp chroot symlink issue
Filename:
MIME Type:
Creator:
Xin Li
Created:
2013-07-25 07:34:39 AEST
Size:
567 bytes
patch
obsolete
>Index: usr.bin/ssh/sftp.c >=================================================================== >RCS file: /home/openbsd/src/usr.bin/ssh/sftp.c,v >retrieving revision 1.143 >diff -u -p -u -r1.143 sftp.c >--- usr.bin/ssh/sftp.c 18 Apr 2013 02:16:07 -0000 1.143 >+++ usr.bin/ssh/sftp.c 22 Jun 2013 00:26:00 -0000 >@@ -1313,7 +1313,6 @@ parse_dispatch_command(struct sftp_conn > case I_SYMLINK: > sflag = 1; > case I_LINK: >- 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