Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BugFix: SymLink name is not correctly read for SFTP in LibSSH2 #9369

Closed
wants to merge 2 commits into from

Conversation

skundu07
Copy link
Contributor

@skundu07 skundu07 commented Aug 25, 2022

When reading symbolic link name for a file, we need to add the file name to base path.

When reading symbolic link name for a file, we need to add the file name to base path name.
bagder
bagder approved these changes Aug 25, 2022
Copy link
Member

@bagder bagder left a comment

Nice catch!

@bagder
Copy link
Member

bagder commented Aug 25, 2022

Just this little nit:

vssh/libssh2.c:2341:103: warning: Longer than 79 columns (LONGLINE)
               result = Curl_dyn_addf(&sshp->readdir_link, "%s%s", sshp->path, sshp->readdir_filename);

Fixed coding style.
@bagder
Copy link
Member

bagder commented Aug 25, 2022

Thanks!

@bagder bagder closed this in 89d2040 Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants