#34269 [Fbk->Opn]: memory overwrite
ID: 34269 User updated by: eka1970 at mail dot ru Reported By: eka1970 at mail dot ru -Status: Feedback +Status: Open Bug Type: Arrays related Operating System: red hat 7.3 PHP Version: 4.4.0 New Comment: Problem is not found in v5 but we're not going to migrate to it until stable 5.1 is released Previous Comments: [2005-08-28 10:42:41] [EMAIL PROTECTED] Jani asked to *TRY* PHP5, not to install and use it instead of PHP4. Please do so or tell that you're not interested in solution for your problem. Thank you. [2005-08-28 07:09:36] eka1970 at mail dot ru If you're not going to fix this and propose to use v5, please confirm there will be no more updates for v4.x. [2005-08-28 00:57:33] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip [2005-08-26 19:36:29] eka1970 at mail dot ru Description: hundreds of thousands of "$a[]= ..." and "array_pop()" calls triggers memory overwrite. Reproduce code: --- $a[$j]); } $paths[] = $stack; // move backward for($j=0; $j<$steps; $j++) { array_pop($stack); } } print_r($a); ?> Expected result: array $a is never modified in the code, but when you print it at the end of the script it spills out a whole lot of unexpected reccursions or just dies with no output. -- Edit this bug report at http://bugs.php.net/?id=34269&edit=1
#34269 [Fbk->Opn]: memory overwrite
ID: 34269 User updated by: eka1970 at mail dot ru Reported By: eka1970 at mail dot ru -Status: Feedback +Status: Open Bug Type: Arrays related Operating System: red hat 7.3 PHP Version: 4.4.0 New Comment: If you're not going to fix this and propose to use v5, please confirm there will be no more updates for v4.x. Previous Comments: [2005-08-28 00:57:33] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip [2005-08-26 19:36:29] eka1970 at mail dot ru Description: hundreds of thousands of "$a[]= ..." and "array_pop()" calls triggers memory overwrite. Reproduce code: --- $a[$j]); } $paths[] = $stack; // move backward for($j=0; $j<$steps; $j++) { array_pop($stack); } } print_r($a); ?> Expected result: array $a is never modified in the code, but when you print it at the end of the script it spills out a whole lot of unexpected reccursions or just dies with no output. -- Edit this bug report at http://bugs.php.net/?id=34269&edit=1
#34269 [NEW]: memory overwrite
From: eka1970 at mail dot ru Operating system: red hat 7.3 PHP version: 4.4.0 PHP Bug Type: Arrays related Bug description: memory overwrite Description: hundreds of thousands of "$a[]= ..." and "array_pop()" calls triggers memory overwrite. Reproduce code: --- $a[$j]); } $paths[] = $stack; // move backward for($j=0; $j<$steps; $j++) { array_pop($stack); } } print_r($a); ?> Expected result: array $a is never modified in the code, but when you print it at the end of the script it spills out a whole lot of unexpected reccursions or just dies with no output. -- Edit bug report at http://bugs.php.net/?id=34269&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34269&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34269&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34269&r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=34269&r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=34269&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34269&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34269&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34269&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34269&r=support Expected behavior: http://bugs.php.net/fix.php?id=34269&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34269&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34269&r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=34269&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34269&r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=34269&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34269&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34269&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34269&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34269&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34269&r=mysqlcfg