summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update versions for PHP 8.0.4RC1php-8.0.4RC1Gabriel Caruso2021-03-163-4/+4
|
* Update NEWS for PHP 8.0.4RC1PHP-8.0.4Gabriel Caruso2021-03-161-1/+1
|
* Fix refcount inference for typed propertiesNikita Popov2021-03-161-4/+3
| | | | | 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.
* Merge branch 'PHP-7.4' into PHP-8.0Derick Rethans2021-03-160-0/+0
|\
| * Fix build version tooDerick Rethans2021-03-161-1/+1
| |
* | Merge branch 'PHP-7.4' into PHP-8.0Derick Rethans2021-03-160-0/+0
|\ \ | |/
| * NEWS for 7.4.18Derick Rethans2021-03-161-1/+4
| |
| * Prepare for 7.4.17RC1Derick Rethans2021-03-161-1/+1
| |
* | Fix ldap_next_entry() parameter nameMáté Kocsis2021-03-162-4/+7
| |
* | Fix crash in LDAP search functions during argument validationMáté Kocsis2021-03-162-0/+18
| |
* | Add missing skipif sections to ext/dom testsMáté Kocsis2021-03-152-0/+4
| |
* | Merge branch 'PHP-7.4' into PHP-8.0Christoph M. Becker2021-03-152-2/+5
|\ \ | |/ | | | | | | * PHP-7.4: Fix #80817: dba_popen() may cause segfault during RSHUTDOWN
| * Fix #80817: dba_popen() may cause segfault during RSHUTDOWNChristoph M. Becker2021-03-152-2/+5
| | | | | | | | We need to close persistent streams with the proper flag.
* | Merge branch 'PHP-7.4' into PHP-8.0Nikita Popov2021-03-153-0/+20
|\ \ | |/ | | | | | | * PHP-7.4: Fix bug #80866
| * Fix bug #80866Dharman2021-03-153-0/+20
| | | | | | | | Closes GH-6774.
* | Merge branch 'PHP-7.4' into PHP-8.0Nikita Popov2021-03-153-1/+43
|\ \ | |/ | | | | | | * PHP-7.4: Fix bug #80837
| * Fix bug #80837Dharman2021-03-153-1/+41
| | | | | | | | The error needs to be reported on the statement, not the connection.
* | Merge branch 'PHP-7.4' into PHP-8.0Nikita Popov2021-03-150-0/+0
|\ \ | |/ | | | | | | | | * PHP-7.4: Update ubuntu on i386 job Downgrade security level in tests using TLS < 1.2
| * Update ubuntu on i386 jobNikita Popov2021-03-151-1/+1
| | | | | | | | | | | | There is a failure with apt on PHP-7.4 that's not present on PHP-8.0/master. Switching to a newer ubuntu version on PHP-7.4 avoids the issue.
| * Downgrade security level in tests using TLS < 1.2Nikita Popov2021-03-155-4/+14
| | | | | | | | | | | | | | A few additional tests have been added on master that require lower security level. (cherry picked from commit c2a6395dcbab20549702e56006f7cd389cefebcd)
* | ext/opcache: fix configure output while checking mmap MAP_ANON supportMichael Heimpold2021-03-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | It seems that f3efb9e3fb introduced a "typo" which may result in the following confusing message: checking for mmap() using MAP_ANON shared memory support... no=yes Let's fix this. Signed-off-by: Michael Heimpold <mhei@heimpold.de> Closes GH-6758.
* | Fixed bug #80814 (threaded mod_php won't load on FreeBSD: No space available ↵Dmitry Stogov2021-03-104-5/+7
| | | | | | | | for static Thread Local Storage)
* | Merge branch 'PHP-7.4' into PHP-8.0Christoph M. Becker2021-03-083-0/+89
|\ \ | |/ | | | | | | * PHP-7.4: Fix #51903: simplexml_load_file() doesn't use HTTP headers
| * Fix #51903: simplexml_load_file() doesn't use HTTP headersChristoph M. Becker2021-03-083-0/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `encoding` attribute of the XML declaration is optional; it is good practice to use external encoding information where available if it is missing. Thus, we check for `charset` info of `Content-Type` headers, and see whether the encoding is supported. We cater to trailing parameters and quoted-strings, but not to escaped backslashes and quotes in quoted-strings, since no known character encoding contains these anyway. Co-authored-by: Michael Wallner <mike@php.net> Closes GH-6747.
* | Merge branch 'PHP-7.4' into PHP-8.0Christoph M. Becker2021-03-083-1/+44
|\ \ | |/ | | | | | | * PHP-7.4: Fix #80838: HTTP wrapper waits for HTTP 1 response after HTTP 101
| * Fix #80838: HTTP wrapper waits for HTTP 1 response after HTTP 101manuel2021-03-083-1/+44
| | | | | | | | | | | | Don't wait for further responses after a HTTP 101 (Switching Protocols) response Closes GH-6730.
* | Fix the error message of attribute flag validationMáté Kocsis2021-03-062-2/+2
| |
* | Merge branch 'PHP-7.4' into PHP-8.0George Wang2021-03-052-37/+54
|\ \ | |/
| * Merge branch 'PHP-7.4' of git.php.net:php-src into PHP-7.4George Wang2021-03-051-1/+1
| |\
| * | LiteSpeed SAPI v7.9: Process manager keeps forked child process alive for ↵George Wang2021-03-052-38/+55
| | | | | | | | | | | | longer time based on load. Reduces PM overhead for busy setup.
* | | Add supports for FreeBSD's PROT_MAX to let mprotect knows X flag can be ↵David Carlier2021-03-051-0/+3
| | | | | | | | | | | | | | | | | | applied in addition. Closes GH-6738.
* | | Merge branch 'PHP-7.4' into PHP-8.0Christoph M. Becker2021-03-051-1/+1
|\ \ \ | | |/ | |/| | | | | | | * PHP-7.4: Print error code if CreateMutex() fails
| * | Print error code if CreateMutex() failsChristoph M. Becker2021-03-051-1/+1
| |/ | | | | | | | | | | | | | | | | This issue came up recently in a bug report[1]; without the error code, users can barely guess why the function failed. [1] <https://bugs.php.net/80812> Closes GH-6745.
* | Fix ASAN warning (Zend/zend_string.h:165:2: runtime error: null pointer ↵Dmitry Stogov2021-03-041-1/+5
| | | | | | | | passed as argument 2 of memcpy(), which is declared to never be null)
* | Fix #80825: ZipArchive::isCompressionMethodSupported does not existChristoph M. Becker2021-03-032-1/+5
| | | | | | | | | | `HAVE_METHOD_SUPPORTED` should have been defined after we updated to libzip 1.7.1 months ago.
* | Fix test wrt. server.inc changesChristoph M. Becker2021-03-031-3/+3
| |
* | Merge branch 'PHP-7.4' into PHP-8.0Christoph M. Becker2021-03-033-13/+33
|\ \ | |/ | | | | | | * PHP-7.4: Fix #78719: http wrapper silently ignores long Location headers
| * Fix #78719: http wrapper silently ignores long Location headersChristoph M. Becker2021-03-033-13/+33
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Fixed bug #80802: (zend_jit_fetch_indirect_var assert failure with tracing JIT)Dmitry Stogov2021-03-012-1/+50
| |
* | Merge branch 'PHP-7.4' into PHP-8.0Christoph M. Becker2021-03-012-16/+179
|\ \ | |/ | | | | | | * PHP-7.4: Fix #80751: Comma in recipient name breaks email delivery
| * Fix #80751: Comma in recipient name breaks email deliveryChristoph M. Becker2021-03-012-16/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Fixed bug #80811Nikita Popov2021-03-013-0/+24
| | | | | | | | | | When filling in defaults for skipped params, make sure that reference parameters get the expected reference wrapper.
* | Merge branch 'PHP-7.4' into PHP-8.0Nikita Popov2021-03-012-1/+16
|\ \ | |/ | | | | | | * PHP-7.4: Always remove HT iterators, even for uninit HT
| * Always remove HT iterators, even for uninit HTNikita Popov2021-03-012-1/+16
| | | | | | | | Fixes oss-fuzz #31423.
* | Merge branch 'PHP-7.4' into PHP-8.0Nikita Popov2021-03-010-0/+0
|\ \ | |/ | | | | | | * PHP-7.4: Fixed bug #80805
| * Fixed bug #80805Nikita Popov2021-03-013-4/+36
| | | | | | | | | | | | Handle missing result_var in binary_op_result_type. (cherry picked from commit 8446e2827585c37d0739f8d44fa8d359cbbb6551)
* | Fix Bug #80800 imap_open() fails when the flags parameter includes CL_EXPUNGEGeorge Peter Banyard2021-02-276-4/+135
| | | | | | | | | | | | | | | | This also affected imap_reopen(). Add a supplementary test that the CL_EXPUNGE flag does have the intended effect. Closes GH-6732
* | Merge branch 'PHP-7.4' into PHP-8.0Felipe Pena2021-02-251-0/+9
|\ \ | |/
| * Fix memleak on ReflectionFunction and ReflectionGenerator classes when ↵Felipe Pena2021-02-251-0/+9
| | | | | | | | calling __construct after instantiation
* | Merge branch 'PHP-7.4' into PHP-8.0Remi Collet2021-02-251-1/+2
|\ \ | |/ | | | | | | * PHP-7.4: skip test with openssl < 1.1.0