[Tickets #13067] Re: PHP Error to view emails IMP (Interger overflow)
noreply at bugs.horde.org
noreply at bugs.horde.org
Wed Mar 26 15:25:57 UTC 2014
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/13067
------------------------------------------------------------------------------
Ticket | 13067
Updated By | asier.cidon at externo.uam.es
Summary | PHP Error to view emails IMP (Interger overflow)
Queue | IMP
Version | 6.1.6
Type | Bug
State | Feedback
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
asier.cidon at externo.uam.es (2014-03-26 15:25) wrote:
Hi,
The problem has been temporarily solved by changing the line 402 of
Stream.php file.
$read = fread($this->stream, $to_end ? 16384 : $length); ---> $read
= fread($this->stream, true);
It's possible that the issue is with "Ternary Operator". The php
official page has a comment on changes in the use of these operators
for the version 5.3
(http://www.php.net/manual/en/language.operators.comparison.php#language.operators.comparison.ternary).
Regards.
More information about the bugs
mailing list