cvs: Zend(PHP_4_4) / zend_compile.c
| From: | Andrei Zmievski | Date: | Thu, 23 Feb 2006 18:07:17 +0000 |
| Subject: | cvs: Zend(PHP_4_4) / zend_compile.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-4618@lists.php.net to get a copy of this message | ||
andrei Thu Feb 23 18:07:17 2006 UTC
Modified files: (Branch: PHP_4_4)
/Zend zend_compile.c
Log:
MFB
http://cvs.php.net/viewcvs.cgi/Zend/zend_compile.c?r1=1.240.2.10.2.6&r2=1.240.2.10.2.7&diff_format=u
Index: Zend/zend_compile.c
diff -u Zend/zend_compile.c:1.240.2.10.2.6 Zend/zend_compile.c:1.240.2.10.2.7
--- Zend/zend_compile.c:1.240.2.10.2.6 Sun Jan 1 13:46:49 2006
+++ Zend/zend_compile.c Thu Feb 23 18:07:16 2006
@@ -1918,6 +1918,9 @@
case IS_DOUBLE:
zend_hash_index_update(result->u.constant.value.ht, (long)offset->u.constant.value.dval,
&element, sizeof(zval *), NULL);
break;
+ case IS_CONSTANT_ARRAY:
+ zend_error(E_ERROR, "Illegal offset type");
+ break;
}
} else {
zend_hash_next_index_insert(result->u.constant.value.ht, &element, sizeof(zval *), NULL);