Re[2]: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute.c
| From: | (Marcus B�rger) | Date: | Mon, 21 Jul 2003 06:56:35 +0000 |
| Subject: | Re[2]: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute.c | ||
| References: | 1 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-1507@lists.php.net to get a copy of this message | ||
Hello Andi,
Monday, July 21, 2003, 7:32:25 AM, you wrote:
AG> This patch doesn't seem right. You shouldn't be checking the resulting
AG> string str.val and str.len. If the value is converted to a string it should
AG> always have a value and worst case you do a hash lookup with "" and then
AG> error out because it's not found.
AG> Please revert this patch and let's discuss a different way of fixing this.
Andi that is the whole fix. Yes i know the string value is supposed to have a
value but with uninitialized php variables the value itself isn't initialized.
So i suggest you either try to find why that can be possible or live with this
patch. Perhaps we can reduce it and only set and check the length value.
Best regards,
Marcus mailto:helly@php.net