#30153 [Sus->Fbk]: FATAL erealloc() error when using gzinflate()

From: Date: Tue, 19 May 2009 10:40:58 +0000
Subject: #30153 [Sus->Fbk]: FATAL erealloc() error when using gzinflate()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-137486@lists.php.net to get a copy of this message
ID: 30153 Updated by: lbarnaud@php.net Reported By: OvdSpek at LIACS dot NL -Status: Suspended +Status: Feedback Bug Type: Zlib Related Operating System: * PHP Version: 6CVS, 5CVS, 4CVS Assigned To: rasmus New Comment: Please try using this CVS snapshot: http://snaps.php.net/php5.2-latest.tar.gz For Windows: http://windows.php.net/snapshots/ Previous Comments: ------------------------------------------------------------------------ [2009-05-19 10:31:04] design at intermost dot ru Latest version (5.2.9) / windows... this bug still shutting down WHOLE thread. Also i'm considering this as bug too. ------------------------------------------------------------------------ [2007-05-30 04:54:43] itsmeaf at gmail dot com 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. ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ 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

« previous php.bugs (#137486) next »