CVS update: php3
| From: | thies | Date: | Wed, 12 May 1999 08:08:20 +0000 |
| Subject: | CVS update: php3 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-5547@lists.php.net to get a copy of this message | ||
Date: Wednesday May 12, 1999 @ 4:08
Author: thies
Update of /repository/php3
In directory php:/tmp/cvs-serv27080
Modified Files:
control_structures_inline.h
Log Message:
preliminary fix for #1403 (could somebody please CHECK this?)
Index: php3/control_structures_inline.h
diff -u php3/control_structures_inline.h:1.195 php3/control_structures_inline.h:1.196
--- php3/control_structures_inline.h:1.195 Fri Apr 16 02:10:23 1999
+++ php3/control_structures_inline.h Wed May 12 04:08:19 1999
@@ -29,7 +29,7 @@
*/
-/* $Id: control_structures_inline.h,v 1.195 1999/04/16 06:10:23 rasmus Exp $ */
+/* $Id: control_structures_inline.h,v 1.196 1999/05/12 08:08:19 thies Exp $ */
#ifdef THREAD_SAFE
#include "tls.h"
@@ -1202,7 +1202,12 @@
} else if (arr_ptr->type!=IS_ARRAY) {
php3_error(E_WARNING,"Index referencing a non-array");
result->value.varptr.pvalue=NULL;
- pval_destructor(expr _INLINE_TLS);
+
+ /* XXX thies@digicol.de i don't know if this is right -
+ but it fixes a crash 990512 */
+ if (expr) {
+ pval_destructor(expr _INLINE_TLS);
+ }
return;
}
if (expr) {
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net