| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Checking the version is not enough, the function might be available
but the symbols are not present still.
Closes GH-5993
|
|\
| |
| |
| |
| | |
* PHP-7.3:
Fix wrong datatype
|
| |
| |
| |
| |
| |
| | |
ini_entry->modifiable is of type uint8_t and so should be the temp. variable. Especially important after 4b77a158.
Closes GH-6028
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix #47021: SoapClient stumbles over WSDL delivered with "Transfer-Encoding: chunked"
|
| |
| |
| |
| | |
chunked"
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
7.3.23 is next
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix HTTP response status code
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Null terminate the sodium_crypto_kx_keypair() result
|
| | |
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix #64705 errorInfo property of PDOException is null when PDO::__construct() fails
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
PDO::__construct() fails
PDO driver constructors are throwing PdoException without setting
errorInfo, so create a new reusable function that throws exceptions
for PDO and will also set the errorInfo. Use this function in
pdo_mysql, pdo_sqlite, and pdo_pgsql.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix bug #75785 by attempt switching endianness on Maker's Note
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Different manufacturer models may come with a
different endianness (motorola/intel) format. In
order to avoid a big refactor and a gigantic lookup
table, this commit simply attempts to switch the
endianness and proceed when values are acceptable.
Closes GH-5849.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
op_arrays can be shared on two levels: Either the op_array is
completely shared, or it is distinct but shares all members
(apart from static_variables).
The the op_array is distinct, we need to make sure to properly
initialize the MAP_PTR structures.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix #48585: com_load_typelib holds reference, fails on second call
|
| |
| |
| |
| |
| |
| |
| |
| | |
Whether the type library is cached is actually irrelevant here; what
matters is that the symbols are imported, and since these are not
cached, we have to import them for every request. And we cannot cache
the symbols, because the import depends on the current codepage, but
the codepage is a `PHP_INI_ALL` setting.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fixed bug #79951
|
| |
| |
| |
| |
| |
| | |
One branch did not release tmp_replace_entry_str.
Also reduce the scope of some variables.
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Check the correct list
|
| |
| |
| |
| | |
This was supposed to check mx_list, not weight_list... oops.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix bug #79944
|
| |
| |
| |
| | |
Only return true from dns_get_mx if we actually found any MX record.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix #79922: Crash after multiple calls to xml_parser_free()
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We must not call `zend_list_delete()` in resource closer functions
exposed to userland, because decreasing the refcount there leads to
use-after-free scenarios. In this case, commit 4a42fbb worked for
typical use-cases where `xml_parser_free()` has been called exactly
once for the resource, because there is an internal zval (`->index`)
referencing the same resource which already increased the refcount by
one. However, when `xml_parser_free()` is called multiple times on the
same XML parser resource, the resource would be freed prematurely.
Instead we forcefully close the resource in `xml_parser_free()`. We
also could decrease the refcount of the resource there, but that would
require to call `xml_parser_free()` which is somewhat uncommon, and
would be particularly bad wrt. PHP 8 where that function is a NOP, and
as such doesn't have to be called. So we do no longer increase the
refcount of the resource when copying it to the internal zval, and let
the usualy refcounting semantics take care of the resource destruction.
[1] <http://git.php.net/?p=php-src.git;a=commit;h=4a42fbbbc73aad7427aef5c89974d1833636e082>
|
| |
| |
| |
| |
| |
| | |
Move the FREE_OP for op_data out of the zend_binary_assign_op_dim_slow()
slow path, so it can be used by the other error path as well. This
makes ASSIGN_DIM_OP structurally more similar to ASSIGN_DIM.
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix bug #70574: Move files to proper locale dir
|
| |
| |
| |
| | |
Closes GH-5940.
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix #79934: CRLF-only line in heredoc causes parsing error
|
| |
| |
| |
| |
| |
| |
| | |
Fixes the function `next_newline()` in zend_language_scanner.l. The
function now correctly returns a newline_len of 2 for "\r\n".
Closes GH-5944.
|
| | |
|
| |
| |
| |
| | |
Privileges for CLONE_NEWPID were not checked.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix memory leak on socket_sendmsg() / socket_recvmsg() error
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fixed bug #79930
|
| |
| |
| |
| | |
We're inserting src_zval, so that's what we should addref.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix iov_base pointer type for illumos
|
| |
| |
| |
| |
| |
| |
| | |
These systems has two versions of the iovec interface dependent on
compiler flags passed, the legacy version causing little build issue.
Closes GH-5939.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Okay, looks like ai_canonname does not get set on macos even if
AI_CANONNAME is specified, so canonicalize this in the other
direction instead and unset ai_canonname if it is present.
|
| | |
|
| |
| |
| |
| |
| | |
Musl always populates ai_canonname. Set the flag to avoid output
discrepancies.
|