You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mina.apache.org by gn...@apache.org on 2014/06/16 09:25:18 UTC

git commit: [SSHD-331] Bad output position in SftSubsystem after a resume

Repository: mina-sshd
Updated Branches:
  refs/heads/master 58c7a835d -> 714a615b1


[SSHD-331] Bad output position in SftSubsystem after a resume


Project: http://git-wip-us.apache.org/repos/asf/mina-sshd/repo
Commit: http://git-wip-us.apache.org/repos/asf/mina-sshd/commit/714a615b
Tree: http://git-wip-us.apache.org/repos/asf/mina-sshd/tree/714a615b
Diff: http://git-wip-us.apache.org/repos/asf/mina-sshd/diff/714a615b

Branch: refs/heads/master
Commit: 714a615b1d26c3958234622b7b1dbd5992c89d4e
Parents: 58c7a83
Author: Guillaume Nodet <gn...@apache.org>
Authored: Mon Jun 16 09:25:11 2014 +0200
Committer: Guillaume Nodet <gn...@apache.org>
Committed: Mon Jun 16 09:25:11 2014 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/sshd/server/sftp/SftpSubsystem.java    | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mina-sshd/blob/714a615b/sshd-core/src/main/java/org/apache/sshd/server/sftp/SftpSubsystem.java
----------------------------------------------------------------------
diff --git a/sshd-core/src/main/java/org/apache/sshd/server/sftp/SftpSubsystem.java b/sshd-core/src/main/java/org/apache/sshd/server/sftp/SftpSubsystem.java
index bb244b2..063ae17 100644
--- a/sshd-core/src/main/java/org/apache/sshd/server/sftp/SftpSubsystem.java
+++ b/sshd-core/src/main/java/org/apache/sshd/server/sftp/SftpSubsystem.java
@@ -265,6 +265,7 @@ public class SftpSubsystem implements Command, Runnable, SessionAware, FileSyste
                 output = null;
             }
             if (output == null) {
+                outputPos = offset;
                 output = file.createOutputStream(offset);
             }
             output.write(data);