From f0ae4e7e6c8a6cca77c615bb820ff30139e58977 Mon Sep 17 00:00:00 2001 From: the-djmaze <> Date: Tue, 4 Oct 2022 13:32:36 +0200 Subject: [PATCH] Bugfix https://github.com/afterlogic/MailSo/pull/6 maybe solves #466 ? --- .../v/0.0.0/app/libraries/MailSo/Base/StreamWrappers/Binary.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snappymail/v/0.0.0/app/libraries/MailSo/Base/StreamWrappers/Binary.php b/snappymail/v/0.0.0/app/libraries/MailSo/Base/StreamWrappers/Binary.php index 397ad5ea5..34dc512f8 100644 --- a/snappymail/v/0.0.0/app/libraries/MailSo/Base/StreamWrappers/Binary.php +++ b/snappymail/v/0.0.0/app/libraries/MailSo/Base/StreamWrappers/Binary.php @@ -254,7 +254,7 @@ class Binary $sReturn .= self::$sFunctionName($this->sReadEndBuffer.$sReadResult, $this->sReadEndBuffer, $this->sFromEncoding, $this->sToEncoding); - $iDecodeLen = \strlen($sReturn); + $iDecodeLen = \strlen($sReadResult); if ($iCount < $iDecodeLen) { $this->sBuffer = \substr($sReturn, $iCount);