6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
1/1/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#13187] Imap_Client: Prevent endless loop in writeLiteral()
*
Your Email Address
*
Spam protection
Enter the letters below:
. . ..__ .___.__ | |\/|[__)[__ [__) |___| |[__)[___|
Comment
> writeLiteral() was stuck in an endless loop > logging this message until the HDD was full: > > PHP ERROR: feof() expects parameter 1 to be resource, integer given > [pid 24223 on line 106 of > "/usr/share/pear/Horde/Imap/Client/Socket/Connection/Socket.php"] > PHP ERROR: fread() expects parameter 1 to be resource, integer given > [pid 24223 on line 107 of > "/usr/share/pear/Horde/Imap/Client/Socket/Connection/Socket.php"] > > Prevent it by checking the return value of fread(). > While we are at it, check the return value of rewind(), too. > > The real cause of this problem is located somewhere else, > but getting stuck in an endless loop isn't nice either :) > > Cheers, > Thomas >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers