[Tickets #10223] error in mime decoding empty content
bugs at horde.org
bugs at horde.org
Fri Jun 10 14:26:05 UTC 2011
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/10223
------------------------------------------------------------------------------
Ticket | 10223
Created By | rick at havokmon.com
Summary | error in mime decoding empty content
Queue | Horde Base
Version | Git master
Type | Bug
State | Unconfirmed
Priority | 1. Low
Milestone |
Patch | 1
Owners |
+New Attachment | mime-empty.patch
------------------------------------------------------------------------------
rick at havokmon.com (2011-06-10 14:26) wrote:
logging the current error - appears to be generated by an empty MIME
section...
2011-06-10T09:01:11-05:00 WARN: HORDE4 [imp] PHP ERROR: fseek():
supplied argument is not a valid stream resource [pid 14684 on line
1363 of
"/usr/local/www/sub/data/horde_git/horde/framework/Mime/lib/Horde/Mime/Part.php"]
2011-06-10T09:01:11-05:00 WARN: HORDE4 [imp] PHP ERROR: ftell():
supplied argument is not a valid stream resource [pid 14684 on line
1364 of
"/usr/local/www/sub/data/horde_git/horde/framework/Mime/lib/Horde/Mime/Part.php"]
2011-06-10T09:01:11-05:00 WARN: HORDE4 [imp] PHP ERROR: fseek():
supplied argument is not a valid stream resource [pid 14684 on line
1363 of
"/usr/local/www/sub/data/horde_git/horde/framework/Mime/lib/Horde/Mime/Part.php"]
2011-06-10T09:01:11-05:00 WARN: HORDE4 [imp] PHP ERROR: ftell():
supplied argument is not a valid stream resource [pid 14684 on line
1364 of
"/usr/local/www/sub/data/horde_git/horde/framework/Mime/lib/Horde/Mime/Part.php"]
caused by the code:
elseif {
fseek($this->_contents, 0, SEEK_END);
$bytes = ftell($this->_contents);
Patch verifys $this->_contents exists, and sets $bytes = 0 if not.
More information about the bugs
mailing list