#
16c7c716 |
| 17-Feb-2020 |
Christoph M. Becker |
Fix NEWS [ci skip]
|
#
5009b981 |
| 17-Feb-2020 |
Christoph M. Becker |
Update NEWS [ci skip]
|
#
09669411 |
| 14-Feb-2020 |
Christoph M. Becker |
Fix #79271: DOMDocumentType::$childNodes is NULL Dom level 2 core, DOM level 3 core and the DOM living standard agree that `childNodes` always return a `NodeList`, and never `null`.
|
#
8308196c |
| 14-Feb-2020 |
Christoph M. Becker |
Fix typo in recent bugfix
|
#
cec8b24c |
| 13-Feb-2020 |
Christoph M. Becker |
Fix #77569: Write Acess Violation in DomImplementation We must not assume that the zval IS_STRING.
|
#
7b464ce6 |
| 11-Feb-2020 |
Christoph M. Becker |
Fix #79254: getenv() w/o arguments not showing changes To be able to see changes done only with `SetEnvironmentVariable()`, we have to use `GetEnvironmentStrings()` instead of `environ`,
Fix #79254: getenv() w/o arguments not showing changes To be able to see changes done only with `SetEnvironmentVariable()`, we have to use `GetEnvironmentStrings()` instead of `environ`, because the latter sees only changes done with `putenv()`. For best backward compatibility we're using `GetEnvironmentStringsA()`; switching to the wide string version likely makes sense for master, though.
show more ...
|
#
f649aded |
| 08-Feb-2020 |
Christoph M. Becker |
Fix #79248: Traversing empty VT_ARRAY throws com_exception If the `VT_ARRAY` is empty, i.e. its upperbound is less than its lower bound, we must not call `php_com_safearray_get_elem()`,
Fix #79248: Traversing empty VT_ARRAY throws com_exception If the `VT_ARRAY` is empty, i.e. its upperbound is less than its lower bound, we must not call `php_com_safearray_get_elem()`, because that function throws in this case.
show more ...
|
#
b9738f58 |
| 07-Feb-2020 |
Christoph M. Becker |
Fix #79242: COM error constants don't match com_exception codes Because a `HRESULT` is a `LONG`[1], no special treatment is required on x86 platforms to get appropriate values. On x64 p
Fix #79242: COM error constants don't match com_exception codes Because a `HRESULT` is a `LONG`[1], no special treatment is required on x86 platforms to get appropriate values. On x64 platforms we prefer positive values, what we could accomplish by casting the `HRESULT` value to `ULONG` and then to `zend_long`, but since the current behavior is correct and the performance improvement is negligible, we defer that to master. [1] <https://docs.microsoft.com/en-us/windows/win32/winprog/windows-data-types#hresult>
show more ...
|
#
5e2ea00b |
| 06-Feb-2020 |
Christoph M. Becker |
Fix #66322: COMPersistHelper::SaveToFile can save to wrong location Saving under the given `filename` may also work, but since `::LoadFromFile` uses the `fullpath` we follow suit.
|
#
13bfa9f5 |
| 29-Jan-2020 |
Nikita Popov |
Fixed bug #79188
|
#
e3632fdc |
| 04-Feb-2020 |
Christoph M. Becker |
Next is 7.3.16
|
#
079905ac |
| 03-Feb-2020 |
Christoph M. Becker |
Fix #78090: bug45161.phpt takes forever to finish Not all systems support the discard protocol (TCP port 9), and since there is no particular reason to use it, we switch to using actual
Fix #78090: bug45161.phpt takes forever to finish Not all systems support the discard protocol (TCP port 9), and since there is no particular reason to use it, we switch to using actual server testing.
show more ...
|
#
fe1bfb78 |
| 03-Feb-2020 |
Christoph M. Becker |
Fix #79191: Error in SoapClient ctor disables DOMDocument::save() The culprit is the too restrictive fix for bug #71536, which prevents `php_libxml_streams_IO_write()` from properly exec
Fix #79191: Error in SoapClient ctor disables DOMDocument::save() The culprit is the too restrictive fix for bug #71536, which prevents `php_libxml_streams_IO_write()` from properly executing when unclean shutdown is flagged. A *more* suitable solution is to move the `xmlwriter_free_resource_ptr()` call from the `free_obj` handler to an added `dtor_obj` handler, to avoid to write to a closed stream in case of late object freeing. This makes the `EG(active)` guard superfluous. We also fix bug79029.phpt which has to use different variables for the three parts to actually check the original shutdown issue. Thanks to bwoebi and daverandom for helping to investigate this issue.
show more ...
|
#
c2935499 |
| 02-Feb-2020 |
Christoph M. Becker |
Fix #79212: NumberFormatter::format() may detect wrong type We have to convert to number *before* detecting the type, to cater to internal objects implementing `cast_object`. We
Fix #79212: NumberFormatter::format() may detect wrong type We have to convert to number *before* detecting the type, to cater to internal objects implementing `cast_object`. We also get rid of the fallback behavior of using `FORMAT_TYPE_INT32`, because that can no longer happen; after `convert_scalar_to_number_ex` the type is either `IS_LONG` or `IS_DOUBLE`. We cater explicitly to the `IS_ARRAY` case what also avoids triggering a type confusion when `::TYPE_INT64` is passed as `$type`.
show more ...
|
#
ef1e4891 |
| 31-Jan-2020 |
Nikita Popov |
Fix bug #76047 Unlink the current stack frame before freeing CVs or extra args. This means it will no longer show up in back traces that are generated during CV destruction.
Fix bug #76047 Unlink the current stack frame before freeing CVs or extra args. This means it will no longer show up in back traces that are generated during CV destruction. We already did this prior to destructing the object/closure, presumably for the same reason.
show more ...
|
#
8226e704 |
| 29-Jan-2020 |
Christoph M. Becker |
Fix #70078: XSL callbacks with nodes as parameter leak memory The fix for bug #49634 solved a double-free by copying the node with `xmlDocCopyNodeList()`, but the copied node is later fr
Fix #70078: XSL callbacks with nodes as parameter leak memory The fix for bug #49634 solved a double-free by copying the node with `xmlDocCopyNodeList()`, but the copied node is later freed by calling `xmlFreeNode()` instead of `xmlFreeNodeList()`, thus leaking memory. However, there is no need to treat the node as node list, i.e. to copy also the node's siblings; just creating a recursive copy of the node with `xmlDocCopyNode()` is sufficient, while that also avoids the leak.
show more ...
|
#
136f51f1 |
| 26-Jan-2020 |
Christoph M. Becker |
Fix #76584: PharFileInfo::decompress not working We actually have to decompress, when told to do so.
|
#
fd08f062 |
| 17-Jan-2020 |
Ivan Mikheykin |
Fix bug #78323: Code 0 is returned on invalid options Set CLI exit code to 1 when invalid parameters are passed, and print error to stderr.
|
#
67421a78 |
| 16-Dec-2019 |
liudaixiao |
Fixed bug #78902
|
#
db9776c5 |
| 23-Jan-2020 |
Nikita Popov |
Fixed bug #79151 Make sure we also NULL out next/prev of the removed element on pop/shift. This only matter is that element is still being referenced by an iterator.
|
#
9be31a58 |
| 22-Jan-2020 |
Christoph M. Becker |
Fix #79154: mb_convert_encoding() can modify $from_encoding We must not modify arrays passed by value.
|
#
7e2bd95f |
| 22-Jan-2020 |
Remi Collet |
next will be 7.2.28
|
#
9eff906a |
| 21-Jan-2020 |
Christoph M. Becker |
Fix #79145: openssl memory leak We must increase the refcount of `return_value` only if `cert` is a resource; this is already done in `php_openssl_evp_from_zval()`, though.
|
#
3046e357 |
| 20-Jan-2020 |
Deus Kane |
Fix #79146: cscript can fail to run on some systems In the buildconf and configure batch files, Windows' cscript utility was being run without the /e:jscript flag. This works on systems
Fix #79146: cscript can fail to run on some systems In the buildconf and configure batch files, Windows' cscript utility was being run without the /e:jscript flag. This works on systems that have not had the default .js file association changed, but if .js has been re-associated to (say) an IDE, the batch files fail with the error message: Input Error: There is no script engine for file extension ".js".
show more ...
|
#
b67fc518 |
| 21-Jan-2020 |
Christoph M. Becker |
Update NEWS wrt. sec fixes
|