[Pkg-owncloud-commits] [owncloud] 31/457: fix #16356

David Prévot taffit at moszumanska.debian.org
Sun Jun 28 20:05:20 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit 2834971a779200bd0afba4f103d86ff755e71458
Author: jknockaert <jasper at knockaert.nl>
Date:   Mon May 18 15:06:55 2015 +0200

    fix #16356
---
 lib/private/files/stream/encryption.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/private/files/stream/encryption.php b/lib/private/files/stream/encryption.php
index e423868..f2f5b9c 100644
--- a/lib/private/files/stream/encryption.php
+++ b/lib/private/files/stream/encryption.php
@@ -341,8 +341,8 @@ class Encryption extends Wrapper {
 			} else {
 				$data = '';
 			}
+			$this->unencryptedSize = max($this->unencryptedSize, $this->position);
 		}
-		$this->unencryptedSize = max($this->unencryptedSize, $this->position);
 		return $length;
 	}
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list