Summary | Activesync broken |
Queue | Synchronization |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | mrubinsk (at) horde (dot) org |
Requester | martin.ament (at) gmx (dot) de |
Created | 12/25/2012 (4678 days ago) |
Due | |
Updated | 12/25/2012 (4678 days ago) |
Assigned | |
Resolved | 12/25/2012 (4678 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | Yes |
Assigned to Michael Rubinsky
State ⇒ Resolved
Thanks!
commit df855c4671f58bfc36468b6c76ce7f10656a668f
Author: martin.ament@gmx.de <martin.ament@gmx.de>
Date: Tue Dec 25 16:55:42 2012 -0500
Bug: 11919Fix variable name.Signed-off-by: Michael J Rubinsky <mrubinsk@horde.org>
.../lib/Horde/ActiveSync/Imap/Adapter.php | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
http://git.horde.org/horde-git/-/commit/df855c4671f58bfc36468b6c76ce7f10656a668f
Priority ⇒ 1. Low
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Synchronization
Summary ⇒ Activesync broken
Type ⇒ Bug
State ⇒ Unconfirmed
-- debug --
2012-12-25T21:14:41+00:00 DEBUG: Validating UTF-8 data coming from
2012-12-25T21:14:41+00:00 DEBUG: Found invalid UTF-8 data, try
different encodings.
2012-12-25T21:14:41+00:00 DEBUG: Could not encode UTF-8 data. Removing
non 7-bit characters.
----- end debug --
-- error_log --
PHP Fatal error: Allowed memory size of 536870912 bytes exhausted
(tried to allocate 522977311 bytes) in
/usr/share/php5/PEAR/Horde/ActiveSync/Imap/Adapter.php on line 1202
-- End error_log --
I investigated Adapter.php and i saw that there was an endless loop
causing the Memory error.
In Line 1205 there was a typo. $chuck_size vs. $chunk_size
After changing this, the code was working as expected.
1205c1206
< $data = substr($data, $chunk_size);
---