FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=18859&edit=1

ID: 18859
Updated by: daniel.oconnor@gmail.com
Reported By: e at narod dot ru
Summary: Function _processBitmap($bitmap) doesn't close image
file
-Status: Open
+Status: Feedback
Type: Bug
Package: Spreadsheet_Excel_Writer
Operating System: Windows XP
Package Version: 0.9.2
PHP Version: 5.3.6
Roadmap Versions:
New Comment:

-Status: Open
+Status: Feedback
Hi,
Any chance of a test script that demonstrates this or why this is a
problem in
particular? (fclose() type things happen at the end of executing the
script anyway
iirc; as part of PHP)


Previous Comments:
------------------------------------------------------------------------

[2011-09-22 10:49:40] electronic

Description:
------------
There is $bmp_fd = @fopen($bitmap,"rb") inside
_processBitmap() function in Worksheet.php, but there is no
matching fclose(). You need to add fclose($bmp_fd) after $data =
fread($bmp_fd, filesize($bitmap));

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedSep 29, '11 at 7:44a
activeSep 29, '11 at 7:44a
posts1
users1
websitepear.php.net

1 user in discussion

Daniel Oconnor: 1 post

People

Translate

site design / logo © 2022 Grokbase