tony2001                Tue Sep  5 13:59:07 2006 UTC

  Modified files:              
    /php-src/ext/openssl        openssl.c 
  Log:
  init variables
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/openssl/openssl.c?r1=1.119&r2=1.120&diff_format=u
Index: php-src/ext/openssl/openssl.c
diff -u php-src/ext/openssl/openssl.c:1.119 php-src/ext/openssl/openssl.c:1.120
--- php-src/ext/openssl/openssl.c:1.119 Thu Aug 31 13:47:31 2006
+++ php-src/ext/openssl/openssl.c       Tue Sep  5 13:59:07 2006
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: openssl.c,v 1.119 2006/08/31 13:47:31 tony2001 Exp $ */
+/* $Id: openssl.c,v 1.120 2006/09/05 13:59:07 tony2001 Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -1302,8 +1302,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) {
-                       zstr strindex;
-                       uint strindexlen;
+                       zstr strindex = NULL_ZSTR;
+                       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