| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Otherwise we likely segfault[1]. We fix the same issue for
PDO_Firebird as well.
[1] <https://ci.appveyor.com/project/php/php-src/builds/38267250/job/6y3ngn1k6ryxx6j3?fullLog=true#L9783>
Closes GH-6785.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-8.0:
imagecolortransparent() cannot return null
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-8.0:
Return bool from imageinterlace()
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The function accepts a bool since PHP 8.0, so it should also return
a bool to keep things consistent.
Furthermore a null return from this functions is not possible.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-8.0:
Fixed bug #80839 (PHP problem with JIT)
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-8.0:
Fix #66783: UAF when appending DOMDocument to element
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.4:
Fix #66783: UAF when appending DOMDocument to element
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
According to the DOM standard, elements may only contain element, text,
processing instruction and comment nodes[1]. It is also specified that
a HierarchyRequestError should be thrown if a document is to be
inserted[2]. We follow that standard, and prevent the use-after-free
this way.
[1] <https://dom.spec.whatwg.org/#node-trees>
[2] <https://dom.spec.whatwg.org/#mutation-algorithms>
Closes GH-6765.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
static_variables should be treated the same way as all other
op_array components nowadays (only static_variables_ptr is
special). There's no need to persist/serialize it is separately
per shared op_array.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-8.0:
8.0.5 is next
|
| | |
| | |
| | |
| | | |
We also move the NEWS entry for bug 80847 to the proper version.
|
| | |
| | |
| | |
| | |
| | | |
For an inherited op_array, directly fetch the xlat entry, as we
do for everything else.
|
| | | |
|
| | |
| | |
| | |
| | | |
Relates GH-6742
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-8.0:
Fixed bug #80847 (CData structs with fields of type struct can't be passed as C function argument)
|
| | |
| | |
| | |
| | | |
as C function argument)
|
| | |
| | |
| | |
| | | |
Closes GH-6766
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Closes GH-6780
|
| | |
| | |
| | |
| | |
| | | |
This allows to eliminate re-calculation of string lenght and hash value.
See the detailed list of changes in UPGRADING.INTERNALS.
|
| | |
| | |
| | |
| | | |
Closes GH-6723.
|
| | |
| | |
| | |
| | |
| | | |
As $(PHP) is not an absolute path, test -x doesn't do anything
meaningful. Rely on the autoconf check.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit c386b1fb177ec0dccc840cbec801e69609ced5c3.
It looks like at least some of these might be needed for ordering
in a clean build?
|
| | | |
|
| | |
| | |
| | |
| | | |
These are now automatically tracked by the build system.
|
| | |
| | |
| | |
| | |
| | | |
Use the detected PHP (minimum 7.1) to run gen_stubs, and other
code generation scripts in the future.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This moves a bunch of code outside of run_tests(), making it a bit
more manageable. Additionally, accessors provide better readability
than isset() and friends.
This is a minimal patch that moves the code but does not refactor
much. For the sake of reviewing experience, it does not involve
further refactoring which could include:
* Removing setSection()
* Fixing up the mess with hasSection() vs. sectionNotEmpty(), only
one of which is really needed.
* Moving more repetitive code into the new class.
All of this will be done with later commits.
Closes GH-6678.
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-8.0:
Fix refcount inference for typed properties
|
| | |
| | |
| | |
| | |
| | | |
We were not adding RC1/RCN if the MAY_BE_OBJECT came from a class
type and there was no other refcounted type in the union.
|
| | |
| | |
| | |
| | |
| | |
| | | |
If an internal class overrides read_property and declared property
types, make sure that the returned value matches the declared
type (in debug builds).
|
|\ \ \
| |/ / |
|
| |\ \
| | |/ |
|
| | | |
|
|\ \ \
| |/ / |
|
| |\ \
| | |/ |
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* Fix crash in LDAP search functions during argument validation
* Fix ldap_next_entry() parameter name
|
| | | |
|
| | | |
|
|\ \ \
| |/ / |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-8.0:
Fix #80817: dba_popen() may cause segfault during RSHUTDOWN
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.4:
Fix #80817: dba_popen() may cause segfault during RSHUTDOWN
|
| | |
| | |
| | |
| | | |
We need to close persistent streams with the proper flag.
|