mirror of
https://github.com/php/php-src.git
synced 2025-08-19 17:04:47 +02:00
- Turns out the external entity loader is not a per-thread global but a true
global. Changed code accordingly; however, applications that embed PHP and also use libxml2 may be affected negatively.
This commit is contained in:
parent
88e36378ff
commit
6affeb6b60
2 changed files with 131 additions and 130 deletions
|
@ -43,7 +43,6 @@ ZEND_BEGIN_MODULE_GLOBALS(libxml)
|
|||
zval *stream_context;
|
||||
smart_str error_buffer;
|
||||
zend_llist *error_list;
|
||||
xmlExternalEntityLoader defaultEntityLoader; /* saved here to allow it restored */
|
||||
struct _php_libxml_entity_resolver {
|
||||
zend_fcall_info fci;
|
||||
zend_fcall_info_cache fcc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue