summaryrefslogtreecommitdiff
path: root/ext/libxml
Commit message (Collapse)AuthorAgeFilesLines
* Fixed bug #64938 libxml_disable_entity_loader setting is shared between ↵Remi Collet2017-11-281-1/+0
| | | | requests (FPM)
* Add symbol to libxml exportsAnatol Belski2017-09-111-0/+1
|
* Fixed bug #69373Tim Toohey2017-06-032-1/+2
| | | | | xmlNodeSetContentLen() calls xmlFreeNode() on node->children. This causes problems if there are other references around to those children.
* Update copyright headers to 2017Sammy Kaye Powers2017-01-042-2/+2
|
* Merge branch 'PHP-5.6' into PHP-7.0Christoph M. Becker2016-07-151-1/+1
|\
| * Fix bug #66502: DOM document dangling referenceChristoph M. Becker2016-07-151-1/+1
| | | | | | | | | | | | | | | | | | When we decrement the refcount of a node's document, we state that we won't need it anymore. Therefore we can *always* set the pointer to the document to NULL, what avoids invalid memory accesses for some edge cases as demonstrated with the PHPT. Original patch provided by Sean Heelan.
| * Merge branch 'PHP-5.5' into PHP-5.6Anatol Belski2016-07-141-0/+2
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: Extend libxml exports Updated NEWS Fix #69975: PHP segfaults when accessing nvarchar(max) defined columns Updated NEWS Fix bug #70480 (php_url_parse_ex() buffer overflow read) Update PHP 5.5 NEWS entries with CVE info
| | * Extend libxml exportsAnatol Belski2016-07-141-0/+2
| | | | | | | | | | | | | | | These are needed to support libxslt 1.1.29 on Windows. This libxslt version fixes CVE-2015-7995 and for this reason needs to be used.
| | * backport af2b0669 into 5.5Anatol Belski2015-03-161-0/+15
| | |
* | | Move semicolon into TSRMLS_CACHE_EXTERN/DEFINENikita Popov2016-03-032-2/+2
| | | | | | | | | | | | Also re bug #71575.
* | | Fix bug #71536 Access Violation crashes php-cgi.exeAnatol Belski2016-02-281-0/+3
| | |
* | | Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-012-2/+2
|\ \ \ | |/ / | | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * | Happy new year (Update copyright to 2016)Lior Kaplan2016-01-012-2/+2
| | |
* | | Removed or simplified incorrect SEPARATE_*() macros usage.Dmitry Stogov2015-09-291-1/+0
| | |
* | | Fixed bug #70535 (XSLT: free(): invalid pointer)Xinchen Hui2015-09-201-1/+1
| | |
* | | switch to the unified globals accessor where appropriateAnatol Belski2015-07-291-6/+3
| | |
* | | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-301-4/+4
| | | | | | | | | | | | semantick changes).
* | | added LIBXML_BIGLINES constantChristoph M. Becker2015-06-081-0/+3
| | |
* | | added tests for bug #54138Christoph M. Becker2015-06-083-0/+72
| | |
* | | replaced / in filename with DIRECTORY_SEPARATOR according to performance ↵Christoph M. Becker2015-06-081-1/+1
| | | | | | | | | | | | warning on DOMDocument::load man page
* | | added SKIPIF conditional to check for DOM availabilityChristoph M. Becker2015-06-081-0/+1
| | |
* | | added XFAIL test for bug #69753Christoph M. Becker2015-06-082-0/+22
| | |
* | | introduced DllMain for the main php DLLAnatol Belski2015-06-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The particular need on this is because of the current situation with determining the background functionality for the gettimeofday. DllMain allows to initialize stuff before the DLL can be actually used. Thus, we use different time API on win7 and win8 and later, so the function pointer needs to be initialized before anything in the DLL could even demand it. The change also opens the door for the further optimizations, as now we're able to do the very basic initializations for the whole DLL before it could ever start to live. Fe on this way the TLS initialization could be done, when utilizing the DLL_THREAD_ATTACH/DETACH case. Whether it's really usable in portable way should be synced with other platforms. Be aware that it's dangerous as it possibly causes dead locks. So to use with care. One willing to add items to DllMain should better read the documentation twice and even then try to defer the necessary action.
* | | extend libxml exportsAnatol Belski2015-05-131-0/+2
| | |
* | | improve searchability for libxml2 headersAnatol Belski2015-05-101-1/+2
| | | | | | | | | | | | and bring the configs inline with the current libxml2 build
* | | cleanup the mod version macros, round 2Anatol Belski2015-03-232-1/+4
| | |
* | | Merge branch 'PHP-5.6'Anatol Belski2015-03-151-0/+15
|\ \ \ | |/ / | | | | | | | | | * PHP-5.6: libxml-2.9.2 compatibility
| * | libxml-2.9.2 compatibilityAnatol Belski2015-03-151-0/+15
| | |
| * | Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2015-02-011-0/+6
| |\ \ | | |/ | | | | | | | | | * PHP-5.5: Fix bug #64938: libxml_disable_entity_loader setting is shared between threads
| | * Fix bug #64938: libxml_disable_entity_loader setting is shared between threadsMartin Jansen2015-02-011-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The availability of entity loading is stored in a module global which previously was only initialized in the GINIT constructor. This had the effect that disabling the entity loader in one request caused subsequent requests hitting the same Apache child process to also have the loader disabled. With this change the loader is explicitely enabled in the request init phase.
| | * Bump yearXinchen Hui2015-01-152-2/+2
| | |
| * | bump yearXinchen Hui2015-01-152-2/+2
| | |
| * | typo fixes - https://github.com/vlajos/misspell_fixerVeres Lajos2014-11-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ext/ftp/ftp.h ext/pcre/pcrelib/pcre_printint.c ext/pcre/pcrelib/sljit/sljitLir.c ext/pcre/pcrelib/sljit/sljitLir.h ext/pcre/pcrelib/sljit/sljitNativeARM_32.c ext/pcre/pcrelib/sljit/sljitNativeTILEGX_64.c ext/pgsql/pgsql.c ext/phar/func_interceptors.c ext/soap/soap.c ext/standard/image.c
| * | Merge branch 'PHP-5.5' into PHP-5.6Matteo Beccati2014-06-091-0/+1
| |\ \ | | |/ | | | | | | | | | * PHP-5.5: Fixed DOM tests when using libxml2 versions patched against CVE-2014-0191
| | * Merge branch 'PHP-5.4' into PHP-5.5Matteo Beccati2014-06-091-0/+1
| | |\ | | | | | | | | | | | | | | | | * PHP-5.4: Fixed DOM tests when using libxml2 versions patched against CVE-2014-0191
| | | * Fixed DOM tests when using libxml2 versions patched against CVE-2014-0191Matteo Beccati2014-06-091-0/+1
| | | | | | | | | | | | | | | | | | | | DOMDocument::substituteEntities needs to be set to true in order for external entities to be parsed.
| * | | [libxml] Unit test for libxml_disable_entity_loader()Scott MacVicar2014-02-162-0/+42
| | | | | | | | | | | | | | | | | | | | Summary: Test to make sure libxml_disable_entity_loader() is behaving.
* | | | abstain from using xmlCleanupParserAnatol Belski2015-02-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Depending on circumstances, usage of xmlCleanupParser can affect the thread local storage, or even cause crashes in single threaded programs. On shutdown the memory will be freed anyway, however not using xmlCleanupParser helps to avoid possible shutdown crashes.
* | | | made ZEND_TSRMLS_CACHE_* macros look like function callsAnatol Belski2015-02-162-3/+3
| | | | | | | | | | | | | | | | which also comply with the current semantics for such macros
* | | | Fix typosMartin Jansen2015-01-221-2/+2
| | | |
* | | | Fix bug #64938: libxml_disable_entity_loader setting is shared between threadsMartin Jansen2015-01-221-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The availability of entity loading is stored in a module global which previously was only initialized in the GINIT constructor. This had the effect that disabling the entity loader in one request caused subsequent requests hitting the same Apache child process to also have the loader disabled. With this change the loader is explicitely enabled in the request init phase.
* | | | bump yearXinchen Hui2015-01-152-2/+2
| | | |
* | | | trailing whitespace removalStanislav Malyshev2015-01-101-24/+24
| | | |
* | | | first shot remove TSRMLS_* thingsAnatol Belski2014-12-132-75/+65
| | | |
* | | | Merge remote-tracking branch 'origin/master' into native-tlsAnatol Belski2014-11-261-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * origin/master: (102 commits) fix dir separator in test fix TS build fix TS build Better fix for bug #68446 Revert "Merge remote-tracking branch 'origin/PHP-5.6'" Revert NEWS and set test to XFAIL Revert "Fix bug #68446 (bug with constant defaults and type hints)" Improved zend_hash_clean() and added new optimized zend_symtable_clean() Use inline version of zval_ptr_dtor() Added new optimized zend_array_destroy() function Moved i_zval_ptr_dtor() from zend_execute.h to zend_variables.h fix REGISTER_NS_*_CONSTANT macros Removed useless assert. EG(uninitialized_zval) can't be refcounted. Use specialized destructors when types of zvals are known. move tests into proper place Improved assignment to object property Reuse zend_assign_to_variable() in zend_std_write_property() cleanup comments from svn/cvs era fix dir separator in test fork test for windows ...
| * | | | typo fixes - https://github.com/vlajos/misspell_fixerVeres Lajos2014-11-231-1/+1
| | | | |
* | | | | fix arg order, CFLAGS is the fifth arg in m4Anatol Belski2014-10-171-1/+1
| | | | |
* | | | | ext/libxml, ext/xml and ext/soap use static tsrmls pointerAnatol Belski2014-10-174-3/+12
| | | | |
* | | | | bring back all the TSRMLS_FETCH() stuffAnatol Belski2014-10-151-0/+14
| | | | | | | | | | | | | | | | | | | | for better comparability with the mainstream
* | | | | remove fetches from libxmlkrakjoe2014-09-261-14/+0
|/ / / /