Summary | error in mime decoding empty content |
Queue | Horde Base |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | rick (at) havokmon (dot) com |
Created | 06/10/2011 (5137 days ago) |
Due | |
Updated | 06/10/2011 (5137 days ago) |
Assigned | |
Resolved | 06/10/2011 (5137 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | Yes |
State ⇒ Resolved
Bug #10223: Fix error when determining part size if contents is empty2 files changed, 8 insertions(+), 7 deletions(-)
http://git.horde.org/horde-git/-/commit/8eae500f4a24746f00f72193b62944122c5a2887
Priority ⇒ 1. Low
New Attachment: mime-empty.patch
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Horde Base
Summary ⇒ error in mime decoding empty content
Type ⇒ Bug
State ⇒ Unconfirmed
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.