tony2001                Tue Sep  5 13:59:25 2006 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/openssl        openssl.c 
  Log:
  MFH: init variables
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/openssl/openssl.c?r1=1.98.2.5.2.16&r2=1.98.2.5.2.17&diff_format=u
Index: php-src/ext/openssl/openssl.c
diff -u php-src/ext/openssl/openssl.c:1.98.2.5.2.16 
php-src/ext/openssl/openssl.c:1.98.2.5.2.17
--- php-src/ext/openssl/openssl.c:1.98.2.5.2.16 Sun Sep  3 15:31:00 2006
+++ php-src/ext/openssl/openssl.c       Tue Sep  5 13:59:25 2006
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: openssl.c,v 1.98.2.5.2.16 2006/09/03 15:31:00 pajoye Exp $ */
+/* $Id: openssl.c,v 1.98.2.5.2.17 2006/09/05 13:59:25 tony2001 Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -1339,7 +1339,8 @@
                /* apply values from the dn hash */
                zend_hash_internal_pointer_reset_ex(HASH_OF(dn), &hpos);
                while(zend_hash_get_current_data_ex(HASH_OF(dn), (void**)&item, 
&hpos) == SUCCESS) {
-                       char * strindex; uint strindexlen;
+                       char * strindex = NULL; 
+                       uint strindexlen = 0;
                        ulong intindex;
                        
                        zend_hash_get_current_key_ex(HASH_OF(dn), &strindex, 
&strindexlen, &intindex, 0, &hpos);

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to