From: Thomas Müller Date: Mon, 30 Mar 2015 11:36:56 +0000 (+0200) Subject: https://github.com/owncloud/core/pull/15305#discussion_r27382305 X-Git-Tag: v8.1.0alpha1~78^2~86 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4441835d189d037a021ba9a11fd96cf55ba2db3f;p=nextcloud-server.git https://github.com/owncloud/core/pull/15305#discussion_r27382305 Conflicts: lib/private/files/stream/encryption.php --- diff --git a/lib/private/files/stream/encryption.php b/lib/private/files/stream/encryption.php index 62b2ad9d9af..3e8c3a912da 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 (