| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
|
| | |
| | |
| | |
| | | |
Closes GH-6750.
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-8.0:
Fix #80825: ZipArchive::isCompressionMethodSupported does not exist
|
| | |
| | |
| | |
| | |
| | | |
`HAVE_METHOD_SUPPORTED` should have been defined after we updated to
libzip 1.7.1 months ago.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Closes GH-6714
Signed-off-by: George Peter Banyard <girgias@php.net>
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-8.0:
Fix test wrt. server.inc changes
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-8.0:
Fix #78719: http wrapper silently ignores long Location headers
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.4:
Fix #78719: http wrapper silently ignores long Location headers
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When opening HTTP streams, and reading the headers, we currently
discard header lines longer than `HTTP_HEADER_BLOCK_SIZE` (1024 bytes).
While this is not generally forbidden by RFC 7230, section 3.2.5, it
is not generally allowed either, since that may change the "message
framing or response semantics".
We thus fix this by allowing arbitrarily long header lines.
Closes GH-6720.
|
| | |
| | |
| | |
| | |
| | |
| | | |
If the ZEROFILL flag is set for a field, do not convert it into
an integer (text protocol) or convert it explicitly into a padded
string (binary protocol).
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-8.0:
Fixed bug #80802: (zend_jit_fetch_indirect_var assert failure with tracing JIT)
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-8.0:
Fix #80751: Comma in recipient name breaks email delivery
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.4:
Fix #80751: Comma in recipient name breaks email delivery
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
So far, `SendText()` simply separates potential email address lists at
any comma, disregarding that commas inside a quoted-string do not
delimit addresses. We fix that by introducing an own variant of
`strtok_r()` which caters to quoted-strings.
We also make `FormatEmailAddress()` aware of quoted strings.
We do not cater to email address comments, and potentially other quirks
of RFC 5322 email addresses, but catering to quoted-strings is supposed
to solve almost all practical use cases.
Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
Closes GH-6735.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Handle missing result_var in binary_op_result_type.
(cherry picked from commit 8446e2827585c37d0739f8d44fa8d359cbbb6551)
|
| | |
| | |
| | |
| | | |
Closes GH-6741
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Because of the memcpy, compilers can't infer that ZSTR_LEN (i.e. class_name->len)
did not change, so they copy it out of memory into a register for the last two
accesses.
php_var_serialize_string already does something similar.
Closes GH-6734
|
| | | |
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | | |
comparison, etc. Now properties are ordered according to their layout in zend_object structure.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
etc.
Now properties are ordered according to their layout in zend_object structure.
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Currently, dynamically declared functions and closures are inserted
into the function table under a runtime definition key, and then later
possibly renamed. When opcache is not used and a file containing a
closure is repeatedly included, this leads to a very large memory leak,
as the no longer needed closure declarations will never be freed
(https://bugs.php.net/bug.php?id=76982).
With this patch, dynamic functions are instead stored in a
dynamic_func_defs member on the op_array, which opcodes reference
by index. When the parent op_array is destroyed, the dynamic_func_defs
it contains are also destroyed (unless they are stilled used elsewhere,
e.g. because they have been bound, or are used by a live closure). This
resolves the fundamental part of the leak, though doesn't completely
fix it yet due to some arena allocations.
The main non-obvious change here is to static variable handling:
We can't destroy static_variables_ptr in destroy_op_array, as e.g.
that would clear the static variables in a dynamic function when
the op_array containing it is destroyed. Static variable destruction
is separated out for this reason (we already do static variable
destruction separately for normal functions, so we only need to
handle main scripts).
Closes GH-5595.
|
| | |
| | |
| | |
| | |
| | | |
Make it clearer that the specified type is really the only type
that can be returned.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Closes GH-6737
Signed-off-by: George Peter Banyard <girgias@php.net>
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-8.0:
Fix Bug #80800 imap_open() fails when the flags parameter includes CL_EXPUNGE
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This also affected imap_reopen().
Add a supplementary test that the CL_EXPUNGE flag does have
the intended effect.
Closes GH-6732
|
| | | |
|
| | | |
|
| | | |
|
|\ \ \
| |/ / |
|
| |\ \
| | |/ |
|
| | |
| | |
| | |
| | | |
calling __construct after instantiation
|
| | |
| | |
| | |
| | |
| | |
| | | |
This is barely used and more of a hinderence than anything else
Closes GH-6712
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-8.0:
skip test with openssl < 1.1.0
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.4:
skip test with openssl < 1.1.0
|
| | |
| | |
| | |
| | |
| | | |
The test fails, but without any crash
(this test is designed to catch a crash)
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-8.0:
crc32 module, clang spurious warning removal.
|
| | |
| | |
| | |
| | | |
Closes GH-6725.
|
| | | |
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* PHP-8.0:
mysqlnd pam fix test error message
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.4:
mysqlnd pam fix test error message
|
| | |
| | |
| | |
| | | |
Closes GH-6727.
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
* PHP-8.0:
Fix potential file collision in dom tests
Fix bug #80757 (Exit code is 0 when could not open file)
Update NEWS
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.4:
Fix potential file collision in dom tests
|