Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'PHP-7.0' | Christoph M. Becker | 2016-07-15 | 1 | -0/+20 |
|\ | |||||
| * | Merge branch 'PHP-5.6' into PHP-7.0 | Christoph M. Becker | 2016-07-15 | 1 | -0/+20 |
| |\ | |||||
| | * | Fix bug #66502: DOM document dangling reference | Christoph M. Becker | 2016-07-15 | 1 | -0/+20 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 'throw-error-in-extensions' | Aaron Piotrowski | 2016-07-05 | 3 | -15/+10 |
|\ \ \ | |||||
| * | | | Replace zend_ce_error with NULL and replace more E_ERROR with thrown Error | Aaron Piotrowski | 2016-06-13 | 2 | -5/+5 |
| | | | | |||||
| * | | | Merge branch 'master' into throw-error-in-extensions | Aaron Piotrowski | 2016-06-10 | 40 | -74/+139 |
| |\ \ \ | |||||
| * | | | | Update memory freeing and other issues, revert some changes | Aaron Piotrowski | 2015-07-05 | 3 | -13/+6 |
| | | | | | |||||
| * | | | | Convert E_ERROR to thrown Error in extensions | Aaron Piotrowski | 2015-07-05 | 2 | -4/+6 |
| | | | | | |||||
* | | | | | Fixed compilation warnings | Dmitry Stogov | 2016-06-28 | 1 | -4/+5 |
| | | | | | |||||
* | | | | | Fixed compilation warnings | Dmitry Stogov | 2016-06-22 | 4 | -3/+4 |
| |/ / / |/| | | | |||||
* | | | | Removed "zend_fcall_info.function_table". It was assigned in many places, ↵ | Dmitry Stogov | 2016-04-27 | 1 | -1/+0 |
| | | | | | | | | | | | | | | | | but is never used. | ||||
* | | | | Removed zend_fcall_info.symbol_table | Dmitry Stogov | 2016-03-02 | 1 | -1/+0 |
| | | | | |||||
* | | | | Missed semicolon | Xinchen Hui | 2016-02-18 | 1 | -1/+1 |
| |/ / |/| | | |||||
* | | | Merge branch 'PHP-5.6' into PHP-7.0 | Lior Kaplan | 2016-01-01 | 37 | -37/+37 |
|\ \ \ | | |/ | |/| | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016) | ||||
| * | | Happy new year (Update copyright to 2016) | Lior Kaplan | 2016-01-01 | 37 | -37/+37 |
| | | | |||||
* | | | These function docs are referencing zend_object_value but this should be ↵ | Tom Van Looy | 2015-12-24 | 1 | -1/+1 |
| | | | | | | | | | | | | zend_object | ||||
* | | | Internal function argumensts cleanup (strict_types) | Xinchen Hui | 2015-12-12 | 1 | -2/+2 |
| | | | |||||
* | | | add ovfl check, fix warnings | Anatol Belski | 2015-09-24 | 1 | -3/+3 |
| | | | |||||
* | | | Cleanup: replace removed condition with ZEND_ASSERT() | Dmitry Stogov | 2015-09-24 | 1 | -1/+2 |
| | | | |||||
* | | | Fixed Bug #70558 ("Couldn't fetch" error in DOMDocument::registerNodeClass()) | Xinchen Hui | 2015-09-23 | 2 | -1/+20 |
| | | | |||||
* | | | add range check | Anatol Belski | 2015-09-16 | 1 | -0/+5 |
| | | | |||||
* | | | add overflow check | Anatol Belski | 2015-09-12 | 1 | -1/+6 |
| | | | |||||
* | | | fix data types | Anatol Belski | 2015-09-12 | 1 | -3/+3 |
| | | | |||||
* | | | add range checks | Anatol Belski | 2015-09-12 | 1 | -11/+11 |
| | | | |||||
* | | | Revert "Fix #70029: nodeValue of DOMElement list content of children nodes" | Christoph M. Becker | 2015-09-06 | 6 | -101/+95 |
| | | | | | | | | | | | | This reverts commit 25a52d98d7cb2d4f3b3636eac45c71a1ae03c760. | ||||
* | | | Fix #70029: nodeValue of DOMElement list content of children nodes | Christoph M. Becker | 2015-09-05 | 6 | -95/+101 |
| | | | | | | | | | | | | | | | | | | | | | According to the W3C DOM Core Level 3 specification DOMElement::nodeValue is supposed to yield null, but currently the DOM extension yield the result of calling xmlNodeGetContent(), what is the concatenation of the values of the children of the element. This patch fixes the non standard behavior. | ||||
* | | | Merge branch 'PHP-5.6' | Christoph M. Becker | 2015-09-05 | 2 | -4/+20 |
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | * PHP-5.6: Fix #70001: Assigning to DOMNode::textContent does additional entity encoding Resolved conflicts: ext/dom/node.c | ||||
| * | | Fix #70001: Assigning to DOMNode::textContent does additional entity encoding | Christoph M. Becker | 2015-09-05 | 2 | -4/+20 |
| | | | | | | | | | | | | | | | | | | Assigning to DOMNode::textContent encodes entities, what does not match the behavior of DOMText::__construct() and DOMDocument::createTextNode. This patch changes the behavior of DOMNode::textContent in this regard. | ||||
* | | | add some range checks to ext/dom | Anatol Belski | 2015-08-26 | 1 | -2/+19 |
| | | | |||||
* | | | Get rid of implicit type casting in GC_*() macros in Zend/zend_types.h. | Dmitry Stogov | 2015-08-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | This prevented compilation warnings and disclosed few incorrect usages in Zend/zend_vm_def.h and ext/dom/xpath.c. Now explicit type casting may be required on call site. This may break some C extension code, but it shoulfn't be a problem to add explicit casting. | ||||
* | | | Remove unneded space(s) | Dmitry Patsura | 2015-08-03 | 1 | -2/+2 |
| | | | |||||
* | | | remove TSRMLS_* | Anatol Belski | 2015-08-02 | 1 | -2/+2 |
| | | | | | | | | | | | | either remains or merged in from PHP5 | ||||
* | | | Merge branch 'PHP-5.6' | Christoph M. Becker | 2015-07-31 | 1 | -1/+4 |
|\ \ \ | |/ / | | | | | | | | | | * PHP-5.6: test fails with old libxml2; skip in this case | ||||
| * | | test fails with old libxml2; skip in this case | Christoph M. Becker | 2015-07-31 | 1 | -1/+4 |
| | | | |||||
* | | | Various warning fixes | Nikita Popov | 2015-07-17 | 1 | -1/+1 |
| | | | |||||
* | | | DOMDocument::saveXML has a 2nd optional arg | Rasmus Lerdorf | 2015-07-10 | 1 | -0/+1 |
| |/ |/| | |||||
* | | Switch position of ce in exception ce variable names | Aaron Piotrowski | 2015-07-03 | 1 | -1/+1 |
| | | |||||
* | | Change zend_exception_get_default() to zend_exception_ce | Aaron Piotrowski | 2015-07-03 | 1 | -1/+1 |
| | | |||||
* | | Use ZSTR_ API to access zend_string elements (this is just renaming without ↵ | Dmitry Stogov | 2015-06-30 | 9 | -18/+18 |
| | | | | | | | | semantick changes). | ||||
* | | Merge branch 'PHP-5.6' | Christoph M. Becker | 2015-06-27 | 1 | -0/+12 |
|\ \ | |/ | | | | | | | * PHP-5.6: added regression test for bug #69679 | ||||
| * | added regression test for bug #69679 | Christoph M. Becker | 2015-06-27 | 1 | -0/+12 |
| | | | | | | | | DOMDocument::loadHTML refuses to accept NULL bytes. | ||||
* | | Fix more minor mistakes in the proto comments | Rasmus Lerdorf | 2015-06-23 | 7 | -39/+39 |
| | | |||||
* | | more precise way to destroy iterator object | Anatol Belski | 2015-06-19 | 1 | -1/+3 |
| | | | | | | | | which also fixes the iterator_to_array test | ||||
* | | added test for bug #69846 | Anatol Belski | 2015-06-19 | 1 | -0/+162 |
| | | |||||
* | | better approach to fix bug #69846 | Anatol Belski | 2015-06-19 | 2 | -4/+7 |
| | | | | | | | | don't destroy the current iterator object too early | ||||
* | | partial fix to bug #69846 | Anatol Belski | 2015-06-18 | 1 | -1/+2 |
| | | |||||
* | | Merge branch 'master' into throwable-interface | Aaron Piotrowski | 2015-06-14 | 2 | -9/+21 |
|\ \ | | | | | | | | | | | | | | | | | | | # Conflicts: # Zend/zend_language_scanner.c # Zend/zend_language_scanner.l # ext/simplexml/tests/SimpleXMLElement_xpath.phpt | ||||
| * \ | Merge branch 'PHP-5.6' | Stanislav Malyshev | 2015-06-09 | 2 | -9/+21 |
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.6 | Stanislav Malyshev | 2015-06-09 | 1 | -2/+2 |
| | |\ | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: fix test update NEWS | ||||
| | | * | Merge branch 'PHp-5.4' into PHP-5.5 | Stanislav Malyshev | 2015-06-09 | 1 | -2/+2 |
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | | * PHp-5.4: fix test update NEWS |