https://bugs.kde.org/show_bug.cgi?id=497195

Méven <me...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/netw
                   |                            |ork/kio-extras/-/commit/5fd
                   |                            |0630699e5d0d150709bf0cd5e93
                   |                            |5d725137f0
         Resolution|---                         |FIXED

--- Comment #6 from Méven <me...@kde.org> ---
Git commit 5fd0630699e5d0d150709bf0cd5e935d725137f0 by Méven Car, on behalf of
Kishore Gopalakrishnan.
Committed on 23/02/2025 at 10:07.
Pushed by meven into branch 'master'.

sftp: use stat instead of lstat

Using lstat leads to symlinks being truncated (since the file gets
truncated according to the size of the symlink, and not the size of the
target file).

open and sftpGet now use sftp_stat, while the remaining methods
(sftpPut, stat, mkdir, rename, symlink) still use sftp_lstat.

M  +4    -2    sftp/kio_sftp.cpp

https://invent.kde.org/network/kio-extras/-/commit/5fd0630699e5d0d150709bf0cd5e935d725137f0

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to