{"author":"Joshua Rogers","author_email":"MegaManSec@users.noreply.github.com","author_time":1759960988,"commit_time":1759991409,"committer":"Daniel Stenberg","committer_email":"daniel@haxx.se","hash":"391e3fbeeccb7311562f60fbd9db964bc5bf3ec7","message":"libssh/sftp: fix resume corruption by avoiding O_APPEND with rresume\n\nOpening the remote file with O_APPEND while attempting to resume causes\nall writes to be forced to EOF on servers/implementations where O_APPEND\nsemantics override a prior seek(). As a result, sftp_seek64() is ignored\nand the resumed data is appended, duplicating/corrupting the file.\n\nFix by:\n- Using O_WRONLY (without O_APPEND) when resume_from > 0.\n- Skipping the seek entirely if remote_append mode is requested.\n\nCloses #18952\n","parents":["c0a279a8e91a279f6942775073d21d0e93041af6"],"tree_hash":"cd1203ee5c0f2ed37d10c12a9f2459fe1f2b1b1c"}