]> granicus.if.org Git - php/commitdiff
Preloading is not comatible with dl() function
authorDmitry Stogov <dmitry@zend.com>
Tue, 6 Aug 2019 09:44:55 +0000 (12:44 +0300)
committerDmitry Stogov <dmitry@zend.com>
Tue, 6 Aug 2019 09:44:55 +0000 (12:44 +0300)
ext/opcache/ZendAccelerator.c

index c2a97f67dfc66cbae172485c5d3e05dc09f1c70f..6361cfa124c73f68cba9929b14a894017c0dedff 100644 (file)
@@ -4299,6 +4299,12 @@ static int accel_preload(const char *config)
 
                CG(map_ptr_last) = orig_map_ptr_last;
 
+               if (EG(full_tables_cleanup)) {
+                       zend_accel_error(ACCEL_LOG_FATAL, "Preloading is not comatible with dl() function.");
+                       ret = FAILURE;
+                       goto finish;
+               }
+
                /* Inheritance errors may be thrown during linking */
                zend_try {
                        preload_link();