cvs: ZendEngine2 / zend_hash.c

From: Date: Mon, 04 Nov 2002 17:26:44 +0000
Subject: cvs: ZendEngine2 / zend_hash.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-550@lists.php.net to get a copy of this message
iliaa Mon Nov 4 12:26:44 2002 EDT Modified files: /ZendEngine2 zend_hash.c Log: If ordered is not set a random compiler assigned value of *p2 would be used, this patch fixes the problem by initializing *p2 to NULL. Index: ZendEngine2/zend_hash.c diff -u ZendEngine2/zend_hash.c:1.91 ZendEngine2/zend_hash.c:1.92 --- ZendEngine2/zend_hash.c:1.91 Tue Sep 17 10:04:37 2002 +++ ZendEngine2/zend_hash.c Mon Nov 4 12:26:44 2002 @@ -1163,7 +1163,7 @@ ZEND_API int zend_hash_compare(HashTable *ht1, HashTable *ht2, compare_func_t compar, zend_bool ordered TSRMLS_DC) { - Bucket *p1, *p2; + Bucket *p1, *p2=NULL; int result; void *pData2;

« previous php.zend-engine.cvs (#550) next »