#30153 [Com]: FATAL erealloc() error when using gzinflate()
| From: | itsmeaf at gmail dot com | Date: | Wed, 30 May 2007 04:54:44 +0000 |
| Subject: | #30153 [Com]: FATAL erealloc() error when using gzinflate() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-113180@lists.php.net to get a copy of this message | ||
ID: 30153
Comment by: itsmeaf at gmail dot com
Reported By: OvdSpek at LIACS dot NL
Status: Suspended
Bug Type: Zlib Related
Operating System: *
PHP Version: 6CVS, 5CVS, 4CVS
Assigned To: rasmus
New Comment:
I got this when i used a variable and an array together. Using Win2000
server & IIS w/ php 5
eg code
<?
<-- mysql query and result here -->
$file = substr($data[0],0,strrpos($data[0],'-'));
<-- mysql query and result here -->
$file[$data[1]] = substr($data[0],0,strrpos($data[0],'.')) .
"-$s_fol-rej.csv";
?>
When I changed the first occurance of the var "$file" to "$real_file"
the bug vanished.
Previous Comments:
------------------------------------------------------------------------
[2005-09-28 05:31:01] rasmus@php.net
It is a problem. Marking it suspended instead. The solution is
non-trivial. If you have one, please let us know.
------------------------------------------------------------------------
[2004-10-01 12:42:28] OvdSpek at LIACS dot NL
Why is this not considered a bug?
Any user would classify this solveable 'thing' as a bug.
------------------------------------------------------------------------
[2004-10-01 12:07:20] derick@php.net
This is not a support forum, there is no bug here. Stop reopening it.
------------------------------------------------------------------------
[2004-10-01 11:38:18] OvdSpek at LIACS dot NL
And why are there no 'friends' that do not abort?
------------------------------------------------------------------------
[2004-10-01 11:21:59] OvdSpek at LIACS dot NL
So what does the allow_failure parameter do?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/30153
--
Edit this bug report at http://bugs.php.net/?id=30153&edit=1