Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix bug #79330 - make all execution modes consistent in rejecting \0 | Stanislav Malyshev | 2020-04-13 | 1 | -0/+9 |
| | |||||
* | Fix test | Stanislav Malyshev | 2020-03-15 | 1 | -1/+1 |
| | |||||
* | Fix bug #79329 - get_headers should not accept \0 | Stanislav Malyshev | 2020-03-15 | 1 | -1/+1 |
| | |||||
* | Fixed bug #79282 | Stanislav Malyshev | 2020-03-15 | 2 | -1/+21 |
| | |||||
* | Mark bug76348.phpt as online test | Nikita Popov | 2020-02-16 | 1 | -0/+1 |
| | |||||
* | Fix bug #79082 - Files added to tar with Phar::buildFromIterator have ↵ | Stanislav Malyshev | 2020-02-16 | 4 | -0/+65 |
| | | | | all-access permissions | ||||
* | Fix bug #79221 - Null Pointer Dereference in PHP Session Upload Progress | Stanislav Malyshev | 2020-02-15 | 2 | -4/+51 |
| | |||||
* | Fix typo in recent bugfix | Christoph M. Becker | 2020-02-14 | 1 | -1/+1 |
| | |||||
* | Fix #77569: Write Acess Violation in DomImplementation | Christoph M. Becker | 2020-02-13 | 2 | -1/+15 |
| | | | | We must not assume that the zval IS_STRING. | ||||
* | More checks for php_strip_tags_ex | Stanislav Malyshev | 2020-01-22 | 1 | -2/+2 |
| | |||||
* | Fix bug #79037 (global buffer-overflow in `mbfl_filt_conv_big5_wchar`) | Stanislav Malyshev | 2020-01-20 | 2 | -5/+22 |
| | |||||
* | Fix #79099: OOB read in php_strip_tags_ex | Stanislav Malyshev | 2020-01-20 | 2 | -3/+35 |
| | |||||
* | Fix #79091: heap use-after-free in session_create_id() | Christoph M. Becker | 2020-01-20 | 2 | -0/+68 |
| | | | | If the `new_id` is released, we must not use it again. | ||||
* | Fix test | Stanislav Malyshev | 2019-12-16 | 1 | -1/+1 |
| | |||||
* | Fix bug #78793 | Stanislav Malyshev | 2019-12-16 | 2 | -2/+15 |
| | |||||
* | Fixed bug #78910 | Stanislav Malyshev | 2019-12-16 | 2 | -1/+19 |
| | |||||
* | Fix #78878: Buffer underflow in bc_shift_addsub | Christoph M. Becker | 2019-12-16 | 2 | -2/+15 |
| | | | | | We must not rely on `isdigit()` to detect digits, since we only support decimal ASCII digits in the following processing. | ||||
* | Fix test | Stanislav Malyshev | 2019-12-16 | 1 | -1/+1 |
| | |||||
* | Fix #78862: link() silently truncates after a null byte on Windows | Christoph M. Becker | 2019-12-16 | 2 | -1/+18 |
| | | | | | Since link() is supposed to accepts paths (i.e. strings without NUL bytes), we must not accept arbitrary strings. | ||||
* | Fix #78863: DirectoryIterator class silently truncates after a null byte | Christoph M. Becker | 2019-12-16 | 2 | -2/+33 |
| | | | | | | Since the constructor of DirectoryIterator and friends is supposed to accepts paths (i.e. strings without NUL bytes), we must not accept arbitrary strings. | ||||
* | Fix #78814: strip_tags allows / in tag name => whitelist bypass | Christoph M. Becker | 2019-12-02 | 2 | -1/+9 |
| | | | | | | | When normalizing tags to check whether they are contained in the set of allowable tags, we must not strip slashes, unless they come immediately after the opening `<`, or immediately before the closing `>`. | ||||
* | Fix #78833: Integer overflow in pack causes out-of-bound access | Christoph M. Becker | 2019-12-02 | 2 | -1/+13 |
| | | | | | We check for potential signed integer overflow, and bail out gracefully, in that case. | ||||
* | Fix #78849: GD build broken with -D SIGNED_COMPARE_SLOW | Christoph M. Becker | 2019-11-21 | 1 | -1/+1 |
| | | | | | | Apparently, this has not been tested for a long time, and might be a refactoring relict. Anyhow, we have to pass the context to `GIFNextPixel` as well. | ||||
* | Fix $x = (bool)$x; for undefined with opcache | Tyson Andre | 2019-11-18 | 1 | -0/+34 |
| | | | | | | | | | | | | | | And `$x = !$x` Noticed while working on GH-4912 The included test would not emit undefined variable errors in php 8.0 with opcache enabled. The command used: ``` php -d zend_extension=opcache.so --no-php-ini -d error_reporting=E_ALL \ -d opcache.file_cache= -d opcache.enable_cli=1 test.php ``` | ||||
* | Fix bug #78804 - Segmentation fault in Locale::filterMatches | Stanislav Malyshev | 2019-11-11 | 2 | -2/+15 |
| | |||||
* | Remove outdated comments in test | Nikita Popov | 2019-11-07 | 1 | -3/+3 |
| | |||||
* | Fixed bug #78759 | Nikita Popov | 2019-11-07 | 2 | -4/+19 |
| | | | | Handle INDIRECT values in array. | ||||
* | Fixed bug #78775 | Nikita Popov | 2019-11-05 | 2 | -0/+36 |
| | | | | | | Clear the OpenSSL error queue before performing SSL stream operations. As we don't control all code that could possibly be using OpenSSL, we can't rely on the error queue being empty. | ||||
* | Fix test cases for libxml2 2.9.10 | Christoph M. Becker | 2019-10-31 | 2 | -4/+4 |
| | | | | | Since the error reporting has been slightly changed, we have to adapt the two affected test cases. | ||||
* | Merge branch 'PHP-7.1' into PHP-7.2 | Stanislav Malyshev | 2019-10-28 | 2 | -4/+4 |
|\ | | | | | | | | | | | | | * PHP-7.1: Fix libmagic buffer overflow issue (CVE-2019-18218) bump version set versions for release | ||||
| * | Fix libmagic buffer overflow issue (CVE-2019-18218) | Stanislav Malyshev | 2019-10-27 | 2 | -4/+4 |
| | | | | | | | | Ported from https://github.com/file/file/commit/46a8443f76cec4b41ec736eca396984c74664f84 | ||||
* | | Fix #78751: Serialising DatePeriod converts DateTimeImmutable | Christoph M. Becker | 2019-10-28 | 2 | -6/+22 |
| | | | | | | | | | | | | When getting the properties of a DatePeriod instance we have to retain the proper classes, and when restoring a DatePeriod instance we have to cater to DateTimeImmutable instances as well. | ||||
* | | Fixed bug #78747 | Nikita Popov | 2019-10-25 | 3 | -13/+41 |
| | | |||||
* | | Fix bug #78697: inaccurate error message | Fabien Villepinte | 2019-10-21 | 3 | -31/+45 |
| | | |||||
* | | Fix #78694: Appending to a variant array causes segfault | Christoph M. Becker | 2019-10-19 | 2 | -0/+24 |
| | | | | | | | | | | | | `write_dimension` object handlers have to be able to handle `NULL` `offset`s; for now we simply throw an exception instead of following the `NULL` pointer. | ||||
* | | Fix #70153 \DateInterval incorrectly unserialized | m.yakunin | 2019-10-18 | 5 | -4/+32 |
| | | | | | | | | | | Added a separate macro for reading 'days' property, so that bool(false) is correctly converted to the proper internal representation. | ||||
* | | Fix checksum calculation for opcache | Mitch Hagstrand | 2019-10-14 | 3 | -11/+14 |
| | | |||||
* | | Fix #78665: Multicasting may leak memory | Christoph M. Becker | 2019-10-12 | 1 | -0/+6 |
| | | |||||
* | | Fix leak in phar open | Nikita Popov | 2019-10-10 | 2 | -7/+8 |
| | | |||||
* | | Avoid float to int cast UB in exif | Nikita Popov | 2019-10-09 | 1 | -2/+3 |
| | | |||||
* | | Remove redundant components < 0 check | Nikita Popov | 2019-10-09 | 1 | -5/+0 |
| | | | | | | | | components is an unsigned number, it cannot be smaller than zero. | ||||
* | | Add pcre_get_compiled_regex_cache_ex() with local_aware flag | Sergei Turchanov | 2019-10-08 | 2 | -2/+11 |
| | | | | | | | | | | | | | | | | | | A new function `pcre_get_compiled_regex_cache_ex()` is introduced, which allows to compile regexp pattern using the "C" locale instead of a current locale. This will be needed to replace setlocale() usage in fileinfo, which is not thread-safe. | ||||
* | | Add missing SKIPIFs in exif tests | Fabien Villepinte | 2019-10-08 | 4 | -0/+24 |
| | | |||||
* | | Fix #78642: Wrong libiconv version displayed | Christoph M. Becker | 2019-10-08 | 1 | -1/+1 |
| | | | | | | | | | | The high byte of `_libiconv_version` specifies the major version; the low byte the minor version. | ||||
* | | Fix #78641: addGlob can modify given remove_path value | Christoph M. Becker | 2019-10-08 | 2 | -2/+34 |
| | | | | | | | | | | | | | | `remove_path` points to the given string, so we must not modify it. Instead we use a duplicate, if we need the modification. We may want to switch to `zend_string`s in master. | ||||
* | | Check for object_init_ex() failure in user filter factory | Nikita Popov | 2019-10-07 | 2 | -3/+25 |
| | | |||||
* | | Set session.gc_probability=0 in bug78624.phpt | Nikita Popov | 2019-10-07 | 1 | -0/+1 |
| | | | | | | | | | | We only want to test manually triggered session GC. Avoid spurious output due to automatic GC. | ||||
* | | Fix #78623: Regression caused by "SP call yields additional empty result set" | Christoph M. Becker | 2019-10-07 | 4 | -2/+8 |
| | | | | | | | | This reverts commit 41a4379cb45419a376043ca5f8c5a2bca82cea7c. | ||||
* | | Split intl tests for ICU 65 | Christoph M. Becker | 2019-10-04 | 4 | -0/+1559 |
| | | |||||
* | | Fix #78620: Out of memory error | Christoph M. Becker | 2019-10-04 | 2 | -0/+20 |
| | | | | | | | | | | The integer addition in `ZEND_MM_ALIGNED_SIZE_EX` can overflow, what we have to catch early. |