summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Update NEWS for PHP 7.2.19PHP-7.2.19Remi Collet2019-05-291-1/+1
|
* add NEWS entries for sec fixRemi Collet2019-05-291-1/+14
|
* Merge branch 'PHP-7.1' into PHP-7.2Stanislav Malyshev2019-05-291-0/+9
| | | | | * PHP-7.1: Fix bug #77967 - Bypassing open_basedir restrictions via file uris
* Merge branch 'PHP-7.1' into PHP-7.2Stanislav Malyshev2019-05-293-0/+13
| | | | | * PHP-7.1: Fix bug #77988 - heap-buffer-overflow on php_jpg_get16
* Fix function nameStanislav Malyshev2019-05-291-1/+1
|
* Merge branch 'PHP-7.1' into PHP-7.2Stanislav Malyshev2019-05-295-2/+49
| | | | | | | * PHP-7.1: Update NEWS Fix bug #78069 - Out-of-bounds read in iconv.c:_php_iconv_mime_decode() due to integer overflow Fix #77973: Uninitialized read in gdImageCreateFromXbm
* NEWS for 7.2.19Sara Golemon2019-05-281-1/+1
|
* Update CREDITS for PHP 7.2.19RC1Sara Golemon2019-05-142-11/+11
|
* Update NEWS for PHP 7.2.19RC1Sara Golemon2019-05-141-1/+1
|
* Fixed possible crashes, because of inconsistent PCRE cache and opcache SHM resetDmitry Stogov2019-05-144-20/+27
|
* Fix test caseChristoph M. Becker2019-05-141-1/+1
| | | | | stderr is supposed to be redirected to NUL (which is roughly equivalent to /dev/null on POSIX), but actually was redirected to a file.
* Add ping to the fpm test for bug #77934Jakub Zelenka2019-05-131-0/+4
|
* Fix #77993: Wrong parse error for invalid hex literal on WindowsTheodore Brown2019-05-134-4201/+4206
| | | | | | | | If a PHP file contains an invalid hex literal such as `0x_10`, the expected error is `Parse error: syntax error, unexpected 'x_10' (T_STRING) in %s on line %d`. This already worked correctly on Linux, but on Windows prior to this patch a different error was produced: `Parse error: Invalid numeric literal in %s on line %d`.
* Convert CRLF to LFPeter Kokot2019-05-132-35/+35
| | | | | These files are tracked with CRLF line endings in Git and can be converted to LF. Neither are parts of tests or code itself.
* Fix bug #77934 (php-fpm kill -USR2 not working)Jakub Zelenka2019-05-113-1/+46
|
* Convert CRLF to LF in *.wsdl filesPeter Kokot2019-05-1137-7037/+7041
| | | | | These EOL types are part of different environments and not part of the tests themselves.
* Fix typoChristoph M. Becker2019-05-101-1/+1
| | | | | Since opcache.enable defaults to 1 anyway, this change is only cosmetic.
* Updated LiteSpeed SAPI to 7.3.2 to allow request header value length up to 64K.George Wang2019-05-093-5/+2
|
* Fix erroneous assertionsChristoph M. Becker2019-05-091-4/+7
| | | | | | | Since PHP strings are binary safe (i.e. they may contain NUL bytes), we must not assume that strlen()/wcslen() actually return the length of the string. Only if the given in_len is zero, it is safe to assert this.
* Fixed bug #75186Nikita Popov2019-05-093-21/+48
|
* Fix log_verbosity_bug.phptChristoph M. Becker2019-05-091-0/+1
| | | | | This test may fail on Windows due to the file cache fallback. We ensure that this will not happen.
* Add {TMP} placeholder for PHPT INI sectionsChristoph M. Becker2019-05-081-3/+2
| | | | | | | | | Several tests use `/tmp` in the `--INI--` section, but this is not portable. We therefore introduce the `{TMP}` placeholder which evaluates to the system's temporary directory using `sys_get_temp_dir()`. We also remove the doubtful `strpos()` optimization.
* Fix resolution of "parent" during inheritance checkNikita Popov2019-05-082-2/+19
| | | | | We can't assume that the method we're checking against is part of the parent class...
* Fix OpenSSL online test for ca contextJakub Zelenka2019-05-051-1/+1
| | | | The php.net is redirected to https so use nginx.org
* Update NEWS wrt. sec fixesChristoph M. Becker2019-04-301-0/+13
|
* Merge branch 'PHP-7.1' into PHP-7.2Stanislav Malyshev2019-04-303-1/+13
|\ | | | | | | | | * PHP-7.1: Fix bug #77950 - Heap-buffer-overflow in _estrndup via exif_process_IFD_TAG
| * Fix bug #77950 - Heap-buffer-overflow in _estrndup via exif_process_IFD_TAGStanislav Malyshev2019-04-304-3/+22
| | | | | | | | | | | | I do not completely understand what is going on there, but I am pretty sure dir_entry <= offset_base if not a normal situation, so we better not to rely on such dir_entry.
* | Merge branch 'PHP-7.1' into PHP-7.2Stanislav Malyshev2019-04-291-6/+7
|\ \ | |/ | | | | | | * PHP-7.1: Fix #77821: Potential heap corruption in TSendMail()
| * Fix #77821: Potential heap corruption in TSendMail()Christoph M. Becker2019-04-291-6/+7
| | | | | | | | | | | | | | | | `zend_string_tolower()` returns a copy (not a duplicate) of the given string, if it is already in lower case. In this case we must not not `zend_string_free()` both strings. The cleanest solution is to call ` zend_string_release()` on both strings, which properly handles the refcount.
* | Fix #77943: imageantialias($image, false); does not workChristoph M. Becker2019-04-292-1/+8
| | | | | | | | | | | | | | | | | | Firstly, we must not call `gdImageSetAntiAliased()` (which sets the color to anti-alias), but rather modify the `gdImage.AA` flag. Furthermore, we have to actually use the supplied boolean value. We also make sure that we don't attempt to enable anti-aliasing for palette images.
* | Add tests for bug77943Christoph M. Becker2019-04-292-0/+29
| |
* | Fixed bug #77945Nikita Popov2019-04-294-9/+32
| | | | | | | | | | Make sure that we proper distinguish between empty string key and no key during SDL serialization.
* | Fix testsChristoph M. Becker2019-04-292-89/+7
| | | | | | | | | | | | | | | | | | | | These tests are obviously meant to test successful and failing uri: DSNs, but did not pass proper file:// URIs, so actually ended up testing for invalid data source URIs twice. We fix this, and adjust the expectations accordingly. We also unfork the -win32 variant, since both test cases are almost identical, and the expected error message may be either one.
* | Make MySQLPDOTest::extractVersion() more liberalChristoph M. Becker2019-04-282-2/+2
| | | | | | | | | | | | | | | | | | | | | | MySQL/MariaDB version strings may have suffixes which may contain dots; for instance, Debian stretch has 5.5.5-10.1.37-MariaDB-0+deb9u1 or such. Therefore, we make the version extraction more liberal, and only require that there are at least three parts separated by dot, and ignore additional parts. We also fix an erroneous test expectation, which would be triggered on CI now, right away. This patch has been provided by petk@.
* | Update NEWSPeter Kokot2019-04-281-0/+4
| |
* | Fix #77024: SplFileObject::__toString() may return arrayCraig Duncan2019-04-282-1/+25
| | | | | | | | | | - Correct the behaviour of casting spl files to strings - Add a test for Bug 77024
* | PHP, meet MySQLChristoph M. Becker2019-04-271-1/+1
| | | | | | | | | | | | All pdo_mysql tests are skipped on AppVeyor because "No such host is known". We change the DSN to use semicolons instead of spaces to fix that.
* | Fix #77944: Wrong meta pdo_type for bigint on LLP64Christoph M. Becker2019-04-272-1/+4
| | | | | | | | | | | | When actually fetching the data, bigint (unsigned) column values are returned as integers on LLP64 architectures, so their pdo_type has to be PDO::PARAM_INT accordingly.
* | Fix #77940: test using outdated mon_thousands_sep for SwedishChristoph M. Becker2019-04-251-1/+1
| | | | | | | | Of course, we should expect a comma, not a period.
* | Fix #77940: test using outdated mon_thousands_sep for SwedishChristoph M. Becker2019-04-251-1/+5
| | | | | | | | This time so that it works for all Windows 10 versions (hopefully).
* | Fix #77940: test using outdated mon_thousands_sep for SwedishChristoph M. Becker2019-04-251-1/+1
| |
* | Fix #77938: socket_get_option errorChristoph M. Becker2019-04-251-0/+3
| | | | | | | | | | Since tcp_socket/ssl streams are not representable, we suppress the redirect to fix the test case.
* | news entry for litespeedRemi Collet2019-04-241-0/+4
| |
* | Fixed bug #77843Nikita Popov2019-04-233-2/+38
| |
* | Improved LSAPI_End_Response_r() .George Wang2019-04-211-10/+17
| |
* | Fixed bug in litespeed_finish_request(), disable fastcgi_finish_request() ↵George Wang2019-04-211-2/+5
| | | | | | | | alias for now.
* | Update changelogPeter Kokot2019-04-201-0/+3
| |
* | Fix #77921: static.php.net doesn't work anymorePeter Kokot2019-04-201-1/+1
| | | | | | | | | | | | | | | | This embeds the PHP logo image in the FPM status HTML page instead of using remote location. The phpinfo() output also uses such approach and browser compatibility looks decent [1]. 1: https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URIs
* | Update Git repository for Windows build tool kitPeter Kokot2019-04-191-1/+1
| |
* | Use php-sdk-2.2.0beta5 on AppVeyorChristoph M. Becker2019-04-181-1/+1
| |