{"author":"Joshua Rogers","author_email":"MegaManSec@users.noreply.github.com","author_time":1759961200,"commit_time":1759991423,"committer":"Daniel Stenberg","committer_email":"daniel@haxx.se","hash":"dae19dd94a77dfc4568989cd84159b9502484b8b","message":"libssh2/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":["391e3fbeeccb7311562f60fbd9db964bc5bf3ec7"],"tree_hash":"cb61382ad7231f4748d93a624558768a7823775b"}