helly           Mon Jan 24 15:21:11 2005 EDT

  Modified files:              
    /php-src/ext/spl    spl_iterators.c 
  Log:
  - bugfix 31348
  
http://cvs.php.net/diff.php/php-src/ext/spl/spl_iterators.c?r1=1.61&r2=1.62&ty=u
Index: php-src/ext/spl/spl_iterators.c
diff -u php-src/ext/spl/spl_iterators.c:1.61 
php-src/ext/spl/spl_iterators.c:1.62
--- php-src/ext/spl/spl_iterators.c:1.61        Wed Dec 29 11:11:42 2004
+++ php-src/ext/spl/spl_iterators.c     Mon Jan 24 15:21:11 2005
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: spl_iterators.c,v 1.61 2004/12/29 16:11:42 tony2001 Exp $ */
+/* $Id: spl_iterators.c,v 1.62 2005/01/24 20:21:11 helly Exp $ */
 
 #ifdef HAVE_CONFIG_H
 # include "config.h"
@@ -1282,6 +1282,7 @@
                                        zval_copy_ctor(intern->u.caching.zstr);
                                        zval_dtor(&expr_copy);
                                } else {
+                                       INIT_PZVAL(intern->u.caching.zstr);
                                        zval_copy_ctor(intern->u.caching.zstr);
                                }
                        }

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

Reply via email to