summaryrefslogtreecommitdiff
path: root/ext/dom/document.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2017-03-021-4/+4
|\
| * PHP bug #74004somedaysummer2017-03-021-4/+4
| | | | | | | | | | Fix for DOMDocument loadHTML and loadHTMLFile ignore LIBXML_NOWARNING and LIBXML_NOERROR flags.
* | Merge branch 'PHP-7.0' into PHP-7.1Nikita Popov2017-02-031-4/+4
|\ \ | |/
| * Revert "Merge branch 'pull-request/2344' into PHP-7.0"Nikita Popov2017-02-031-4/+4
| | | | | | | | | | This reverts commit 6988d070ea8c7d44452d8c98e594d65ea722a1d8, reversing changes made to 75ad2b301a047209e7b5a6b5912eb589cfbc773d.
* | Merge branch 'PHP-7.0' into PHP-7.1Joe Watkins2017-02-031-4/+4
|\ \ | |/ | | | | | | * PHP-7.0: Fixed bug #74004 LIBXML_NOWARNING (etc) ignored by DOMDocument::loadHTML
| * Fixed bug #74004 LIBXML_NOWARNING (etc) ignored by DOMDocument::loadHTMLsomedaysummer2017-02-031-4/+4
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Anatol Belski2017-02-011-25/+29
|\ \ | |/ | | | | | | | | | | * PHP-7.0: sync NEWS with the reverted stuff Revert "fixed bug #50989 (DOM support for LIBXML_NOXMLDECL)" Revert "fix BC break introduced by #2346 (sebastianbergmann/phpunit#2454)"
| * Revert "fixed bug #50989 (DOM support for LIBXML_NOXMLDECL)"Anatol Belski2017-02-011-22/+29
| | | | | | | | This reverts commit 2fcf1259c6a9c1d70bcdfb96aeabc54c47e2a4a0.
| * Revert "fix BC break introduced by #2346 (sebastianbergmann/phpunit#2454)"Anatol Belski2017-02-011-3/+0
| | | | | | | | This reverts commit 62938bf08806129b42b17e74d79a450c30d4ff30.
* | Merge branch 'PHP-7.0' into PHP-7.1Joe Watkins2017-01-301-0/+3
|\ \ | |/ | | | | | | * PHP-7.0: fix BC break introduced by #2346 (sebastianbergmann/phpunit#2454)
| * fix BC break introduced by #2346 (sebastianbergmann/phpunit#2454)jhdxr2017-01-301-0/+3
| |
* | Merge branch 'PHP-7.0' into PHP-7.1Joe Watkins2017-01-281-29/+22
|\ \ | |/ | | | | | | * PHP-7.0: fixed bug #50989 (DOM support for LIBXML_NOXMLDECL)
| * fixed bug #50989 (DOM support for LIBXML_NOXMLDECL)jhdxr2017-01-281-29/+22
| |
| * Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| |
| * Fix bug #73150: missing NULL check in dom_document_save_htmlStanislav Malyshev2016-10-121-2/+2
| | | | | | | | (cherry picked from commit 1c0e9126fbfb7fde3173347b7464237f56c38bfa)
* | Update copyright headers to 2017Sammy Kaye Powers2017-01-041-1/+1
| |
* | Fix bug #73150: missing NULL check in dom_document_save_htmlStanislav Malyshev2016-10-141-2/+2
| | | | | | | | | | (cherry picked from commit 1c0e9126fbfb7fde3173347b7464237f56c38bfa) (cherry picked from commit d1e878f2726e65502fdd992c5b57feeada57893f)
* | Replace zend_ce_error with NULL and replace more E_ERROR with thrown ErrorAaron Piotrowski2016-06-131-3/+3
| |
* | Merge branch 'master' into throw-error-in-extensionsAaron Piotrowski2016-06-101-9/+32
|\ \ | |/
| * Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
| |\ | | | | | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| | * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| | |
| * | add overflow checkAnatol Belski2015-09-121-1/+6
| | |
| * | fix data typesAnatol Belski2015-09-121-3/+3
| | |
| * | add some range checks to ext/domAnatol Belski2015-08-261-2/+19
| | |
| * | Remove unneded space(s)Dmitry Patsura2015-08-031-2/+2
| | |
| * | remove TSRMLS_*Anatol Belski2015-08-021-2/+2
| | | | | | | | | | | | either remains or merged in from PHP5
| * | DOMDocument::saveXML has a 2nd optional argRasmus Lerdorf2015-07-101-0/+1
| | |
* | | Update memory freeing and other issues, revert some changesAaron Piotrowski2015-07-051-9/+3
| | |
* | | Convert E_ERROR to thrown Error in extensionsAaron Piotrowski2015-07-051-2/+4
|/ /
* | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵Dmitry Stogov2015-06-301-5/+5
| | | | | | | | semantick changes).
* | Fix more minor mistakes in the proto commentsRasmus Lerdorf2015-06-231-27/+27
| |
* | Merge branch 'PHP-5.6'Stanislav Malyshev2015-06-091-7/+19
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: add NEWS Fixed bug #68776 fix test update NEWS Fix bug #69646 OS command injection vulnerability in escapeshellarg Fix #69719 - more checks for nulls in paths fix test description Fixed Buf #68812 Unchecked return value. Conflicts: ext/dom/document.c ext/gd/gd.c ext/standard/exec.c
| * Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2015-06-091-5/+17
| |\ | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: Fix bug #69646 OS command injection vulnerability in escapeshellarg Fix #69719 - more checks for nulls in paths fix test description Fixed Buf #68812 Unchecked return value.
| | * Merge branch 'PHP-5.4' into PHP-5.5Stanislav Malyshev2015-06-091-5/+17
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.4: Fix bug #69646 OS command injection vulnerability in escapeshellarg Fix #69719 - more checks for nulls in paths fix test description Fixed Buf #68812 Unchecked return value. Conflicts: ext/dom/document.c ext/gd/gd.c
| | | * Fix #69719 - more checks for nulls in pathsStanislav Malyshev2015-06-091-5/+17
| | | |
* | | | Merge branch 'PHP-5.6'Stanislav Malyshev2015-04-141-2/+6
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.6: (27 commits) fix non-standard C update NEWS 5.4.41 next fix CVE num update NEWS Fix bug #69441 (Buffer Overflow when parsing tar/zip/phar in phar_set_inode) fix test fix type in fix for #69085 fix memory leak & add test Fix tests fix CVE num Fix bug #69337 (php_stream_url_wrap_http_ex() type-confusion vulnerability) Fix test Additional fix for bug #69324 More fixes for bug #69152 Fixed bug #69353 (Missing null byte checks for paths in various PHP extensions) Fixed bug #69324 (Buffer Over-read in unserialize when parsing Phar) Fixed bug #69316 (Use-after-free in php_curl related to CURLOPT_FILE/_INFILE/_WRITEHEADER) Fix bug #68486 and bug #69218 (segfault in apache2handler with apache 2.4) Fix bug #68819 (Fileinfo on specific file causes spurious OOM and/or segfault) ... Conflicts: Zend/zend_exceptions.c ext/curl/interface.c ext/dom/document.c ext/fileinfo/libmagic/softmagic.c ext/gd/gd.c ext/hash/hash.c ext/pgsql/pgsql.c ext/phar/phar.c ext/phar/phar_internal.h ext/standard/http_fopen_wrapper.c ext/standard/link.c ext/standard/streamsfuncs.c ext/xmlwriter/php_xmlwriter.c ext/zlib/zlib.c
| * | | Merge branch 'PHP-5.5' into PHP-5.6Stanislav Malyshev2015-04-141-55/+59
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: (27 commits) fix non-standard C update NEWS 5.4.41 next fix CVE num update NEWS Fix bug #69441 (Buffer Overflow when parsing tar/zip/phar in phar_set_inode) fix test fix type in fix for #69085 fix memory leak & add test Fix tests fix CVE num Fix bug #69337 (php_stream_url_wrap_http_ex() type-confusion vulnerability) Fix test Additional fix for bug #69324 More fixes for bug #69152 Fixed bug #69353 (Missing null byte checks for paths in various PHP extensions) Fixed bug #69324 (Buffer Over-read in unserialize when parsing Phar) Fixed bug #69316 (Use-after-free in php_curl related to CURLOPT_FILE/_INFILE/_WRITEHEADER) Fix bug #68486 and bug #69218 (segfault in apache2handler with apache 2.4) Fix bug #68819 (Fileinfo on specific file causes spurious OOM and/or segfault) ... Conflicts: ext/standard/http_fopen_wrapper.c
| | * | Merge branch 'PHp-5.4' into PHP-5.5Stanislav Malyshev2015-04-141-54/+55
| | |\ \ | | | |/ | | | | | | | | | | | | * PHp-5.4: fix non-standard C
| | | * fix non-standard CStanislav Malyshev2015-04-141-54/+55
| | | |
| | * | Merge branch 'PHP-5.4.40' into PHP-5.5.24Stanislav Malyshev2015-04-111-1/+4
| | |\ \ | | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.4.40: Additional fix for bug #69324 More fixes for bug #69152 Fixed bug #69353 (Missing null byte checks for paths in various PHP extensions) Fixed bug #69324 (Buffer Over-read in unserialize when parsing Phar) Fixed bug #69316 (Use-after-free in php_curl related to CURLOPT_FILE/_INFILE/_WRITEHEADER) Fix bug #68486 and bug #69218 (segfault in apache2handler with apache 2.4) Fix bug #68819 (Fileinfo on specific file causes spurious OOM and/or segfault) Fixed bug #68901 (use after free) Fixed bug #68740 (NULL Pointer Dereference) Fix bug #66550 (SQLite prepared statement use-after-free) Better fix for #68601 for perf https://bitbucket.org/libgd/gd-libgd/commits/81e9a993f2893d651d225646378e3fd1b7465467 Fix bug #68601 buffer read overflow in gd_gif_in.c Revert "Merge branch 'PHP-5.4' of https://git.php.net/repository/php-src into PHP-5.4" Fixed bug #69293 Add ZEND_ARG_CALLABLE_INFO to allow internal function to type hint against callable.
| | | * Fixed bug #69353 (Missing null byte checks for paths in various PHP extensions)Stanislav Malyshev2015-04-111-1/+4
| | | |
| | * | Bump yearXinchen Hui2015-01-151-1/+1
| | | |
| * | | bump yearXinchen Hui2015-01-151-1/+1
| | | |
| * | | Make DOMNode::textContent writeableTjerk Meesters2014-09-021-72/+11
| |/ /
* | | Always throw TypeException on throwing zpp failuresNikita Popov2015-04-061-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduces a ZEND_PARSE_PARAMS_THROW flag for zpp, which forces to report FAILURE errors using a TypeException instead of a Warning, like it would happen in strict mode. Adds a zend_parse_parameters_throw() convenience function, which invokes zpp with this flag. Converts all cases I could identify, where we currently have throwing zpp usage in constructors and replaces them with this API. Error handling is still replaced to EH_THROW in some cases to handle other, domain-specific errors in constructors.
* | | bump yearXinchen Hui2015-01-151-1/+1
| | |
* | | trailing whitespace removalStanislav Malyshev2015-01-101-52/+52
| | |
* | | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-139/+139
| | |
* | | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| | |
* | | Fix DOM warningsNikita Popov2014-09-031-14/+14
| | |