From 4441835d189d037a021ba9a11fd96cf55ba2db3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Mon, 30 Mar 2015 13:36:56 +0200 Subject: [PATCH] https://github.com/owncloud/core/pull/15305#discussion_r27382305 Conflicts: lib/private/files/stream/encryption.php --- lib/private/files/stream/encryption.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/private/files/stream/encryption.php b/lib/private/files/stream/encryption.php index 62b2ad9d9a..3e8c3a912d 100644 --- a/lib/private/files/stream/encryption.php +++ b/lib/private/files/stream/encryption.php @@ -205,6 +205,8 @@ class Encryption extends Wrapper { $this->loadContext('ocencryption'); $this->position = 0; + $this->cache = ''; + $this->writeFlag = false; $this->unencryptedBlockSize = $this->encryptionModule->getUnencryptedBlockSize(); if (