6.0.0-beta1
10/21/25

[#14627] Infinite Loop PHP ERROR on feof() and fread()
Summary Infinite Loop PHP ERROR on feof() and fread()
Queue Horde Framework Packages
Type Bug
State Duplicate
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester michael.menge (at) zdv (dot) uni-tuebingen (dot) de
Created 05/02/2017 (3094 days ago)
Due
Updated 05/02/2017 (3094 days ago)
Assigned
Resolved 05/02/2017 (3094 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/02/2017 03:13:03 PM Michael Rubinsky Summary ⇒ Infinite Loop PHP ERROR on feof() and fread()
 
05/02/2017 03:12:45 PM Michael Rubinsky Comment #2
Assigned to Michael Rubinsky
State ⇒ Duplicate
Reply to this comment
Bug: 14608

You need to update Horde_Image.
05/02/2017 02:53:42 PM michael (dot) menge (at) zdv (dot) uni-tuebingen (dot) de Comment #1
Priority ⇒ 1. Low
New Attachment: bild.tgz Download
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Framework Packages
Summary ⇒ Infenite Loop PHP ERROR on feof() and fread()
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
One of our users tried to attach an Image to an Contact in Turba. The 
Upload seamed to take
forever showing 0.0 transferred kB, while the horde log was flooded 
errors till the filesystem was full.

2017-05-02T15:24:25+02:00 WARN: HORDE [horde] PHP ERROR: feof() 
expects parameter 1 to be resource, object given [pid 30500 on line 
385 of "/usr/share/pear/Horde/Image/Base.php"]
2017-05-02T15:24:25+02:00 WARN: HORDE [horde] PHP ERROR: fread() 
expects parameter 1 to be resource, object given [pid 30500 on line 
386 of "/usr/share/pear/Horde/Image/Base.php"]
2017-05-02T15:24:25+02:00 WARN: HORDE [horde] PHP ERROR: feof() 
expects parameter 1 to be resource, object given [pid 30500 on line 
385 of "/usr/share/pear/Horde/Image/Base.php"]
2017-05-02T15:24:25+02:00 WARN: HORDE [horde] PHP ERROR: fread() 
expects parameter 1 to be resource, object given [pid 30500 on line 
386 of "/usr/share/pear/Horde/Image/Base.php"]
....

I attached the png file that caused the flod of errors. I put in an 
tgz-archive to prevent errors on your servers.

turba                        4.2.19  stable
horde                       5.2.14  stable
Horde_Image        2.4.0   stable





Saved Queries