ID:               5393
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Won\'t fix
 Bug Type:         Other
 Operating System: SunOS 2.7 / RH Linux 6.1
 PHP Version:      3.0.16
 New Comment:

We are sorry, but can not support PHP 3 related problems anymore.
Momentum is gathering for PHP 5, and we think supporting PHP 3 will
lead to a waste of resources which we want to put into getting PHP 5
ready. Ofcourse PHP 4 will will continue to be supported for the
forseeable future.




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

[2000-07-06 00:26:56] [EMAIL PROTECTED]

By looking at code I discovered potential bug in
php3_request_shutdown(): When cleaning up function state stack
last_symbol_table is initated to NULL, then function_states in
function_state_stack are freed from top to bottom, while
updating/checking last_symbol_table and in the end current
function_state is freed. BUT logically current function_state belongs
to top of the stack and not to bottom, to witch symbol_table
last_symbol_table will point to

Fix:
Set last_symbol_table to GLOBAL(function_state).symbol_table, free
function_state and then proceed with function_state_stack freeing


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


-- 
Edit this bug report at http://bugs.php.net/?id=5393&edit=1

Reply via email to