Commit:    6ab1759369d16d46bf20b175c6158f38fd816893
Author:    Dmitry Stogov <dmi...@zend.com>         Tue, 5 Mar 2013 15:46:21 
+0400
Parents:   fae0a738df8542d909c4e56b4af89abcfbc2f99e
Branches:  PHP-5.5 master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=6ab1759369d16d46bf20b175c6158f38fd816893

Log:
Fixed uninitialized variable

Changed paths:
  M  ZendAccelerator.c


Diff:
diff --git a/ZendAccelerator.c b/ZendAccelerator.c
index aa22670..9690bb8 100644
--- a/ZendAccelerator.c
+++ b/ZendAccelerator.c
@@ -1216,6 +1216,7 @@ static zend_persistent_script 
*compile_and_cache_file(zend_file_handle *file_han
                 * function and class tables (see: 
https://bugs.php.net/bug.php?id=64353)
                 */
                if (zend_stream_fixup(file_handle, &buf, &size TSRMLS_CC) == 
FAILURE) {
+                       *op_array_p = NULL;
                        return NULL;
                }
        }


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

Reply via email to