summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Prep for 7.2.22 GAPHP-7.2.22Sara Golemon2019-08-271-1/+1
|
* Fix #75457: heap-use-after-free in php7.0.25Christoph M. Becker2019-08-271-0/+10
| | | | Backport <https://vcs.pcre.org/pcre?view=revision&revision=1638>.
* Fix CVE-2019-13224: don't allow different encodings for onig_new_deluxe()Stanislav Malyshev2019-08-271-3/+3
| | | | Backport from https://github.com/kkos/oniguruma/commit/0f7f61ed1b7b697e283e37bd2d731d0bd57adb55
* Update CREDITS for PHP 7.2.22RC1Sara Golemon2019-08-132-11/+11
|
* Update NEWS for PHP 7.2.22RC1Sara Golemon2019-08-131-1/+1
|
* Fixed bug #77191Nikita Popov2019-08-133-1/+23
|
* Don't destroy properties array with unset GC typeNikita Popov2019-08-131-1/+2
| | | | | As the properties array can also be a GC root, it might have already been destroyed.
* Intern alias old_name earlyNikita Popov2019-08-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | This is likely going to end up interned lateron at some point when the new_name is referenced somewhere. However, it may be that there are some uses that do not get interned before that. In this case we will intern a string that already have zval users, without updating the refcounted flag on those zvals. In particular this can happen with something like [Foo::class], where Foo is an imported symbol. The string it resolves to won't get interned right away, but may be interned later. use Foo as Bar; $x = [Bar::class]; var_dump(Bar::X); debug_zval_dump($x); // Will show negative refcount class Foo { const X = 1; } However, this doesn't really fix the root cause, there are probably other situations where something similar can occur.
* Fixed handling of references in nested data of objects with destructorDmitry Stogov2019-08-092-12/+49
|
* Fixed second part of the bug #78379 (Cast to object confuses GC, causes crash)Dmitry Stogov2019-08-092-4/+35
|
* Added asserts to catch GC errors when refcount goes below zero.Dmitry Stogov2019-08-091-0/+5
|
* Skip test when SIGKILL is not definedMatteo Beccati2019-08-091-1/+2
|
* Fixed bug #78379 (Cast to object confuses GC, causes crash)Dmitry Stogov2019-08-083-0/+38
|
* Fix #78282: atime and mtime mismatchChristoph M. Becker2019-08-062-1/+2
| | | | | | | | The fix for bug #78241 assumed that `time_t` would always be 64bit, but actually is 32bit for x86. We therefore enforce 64bit arithmetic to avoid wrapping. (cherry picked from commit bf242d58e77d50d4d8fdaaaca7ede686ec4467c0)
* Fix #78179: MariaDB server version incorrectly detectedChristoph M. Becker2019-08-022-0/+11
| | | | | | | | As of MariaDB 10.0.2, the server reports a fake version number as work- around for replication issues[1]. We apply the same "fix" as in the MariaDB client to cater to this. [1] <https://github.com/MariaDB/server/commit/c50ee6c23dbeb090963580754bec2f0a96ac0557#diff-5b45fa673c88c06a9651c7906364f592>
* Fixed bug #78363Nikita Popov2019-08-022-1/+4
|
* add security NEW entries + reorder [ci skip]Remi Collet2019-07-301-14/+23
|
* Merge branch 'PHP-7.1' into PHP-7.2Stanislav Malyshev2019-07-297-5/+32
|\ | | | | | | | | | | | | | | * PHP-7.1: Fix #77919: Potential UAF in Phar RSHUTDOWN Update NEWS Fix bug #78256 (heap-buffer-overflow on exif_process_user_comment) Fix bug #78222 (heap-buffer-overflow on exif_scan_thumbnail)
| * Fix #77919: Potential UAF in Phar RSHUTDOWNChristoph M. Becker2019-07-293-2/+10
| | | | | | | | | | | | | | We have to properly clean up in case phar_flush() is failing. We also make the expectation of the respective test case less liberal to avoid missing such bugs in the future.
| * Update NEWSStanislav Malyshev2019-07-291-0/+6
| |
| * Fix bug #78256 (heap-buffer-overflow on exif_process_user_comment)Stanislav Malyshev2019-07-293-3/+14
| |
| * Fix bug #78222 (heap-buffer-overflow on exif_scan_thumbnail)Stanislav Malyshev2019-07-293-1/+12
| |
* | Fix bug #78326Albert Casademont2019-07-294-1/+36
| | | | | | | | | | Similar to what fread() does, truncate the stream_get_contents() result if the original buffer was way too large.
* | Fix Zend signals unblockingNikita Popov2019-07-293-6/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | There are a few parts here: * opcache should not be blocking signals while invoking compile_file, otherwise signals may remain blocked on a compile error. While at it, also protect SHM memory during compile_file. * We should deactivate Zend signals at the end of the request, to make sure that we gracefully recover from a missing unblock and signals don't remain blocked forever. * We don't use a critical section in deactivation, because it should not be necessary. Additionally we want to clean up the signal queue, if it is non-empty. * Enable SIGG(check) in debug builds so we notice issues in the future.
* | Fixed bug #78333Nikita Popov2019-07-292-6/+24
| | | | | | | | | | Don't dereference float/double values at unknown address, instead memcpy it into an aligned stack slot and dereference that.
* | Fix #78342: Bus error in configure test for iconv //IGNOREChristoph M. Becker2019-07-292-0/+7
| | | | | | | | | | We have to check the return value of iconv_open() for error, to avoid that and potentially other undesired behavior of iconv().
* | Remove .post files only for passing testsLevi Morrison2019-07-251-2/+4
| | | | | | | | This allows the sh script for failing tests with --POST-- to work
* | Update NEWSPeter Kokot2019-07-231-0/+3
| |
* | Checked in LiteSpeed SAPI 7.5, addressed two main problems in "clean ↵George Wang2019-07-201-62/+62
| | | | | | | | | | | | | | shutdown" introduced in 7.4.3, 1. falls in an infinite loop because PHP engine's inconsistent state, now override the ITIMER_PROF to 0.1 second, clean shutdown must finish before that. 2. generate too much error log, we completely disable "error_reporting" before calling php_request_shutdown().
* | Fixed bug #77946Abyr Valg2019-07-185-2/+54
| | | | | | | | Save multi_info_read() result into easy handle.
* | Fixed bug #69100Nikita Popov2019-07-173-9/+34
| |
* | move NEWS entry [ci skip]Remi Collet2019-07-161-3/+3
| |
* | Fixed bug #78297Nikita Popov2019-07-163-0/+19
| |
* | next is 7.2.22Remi Collet2019-07-163-6/+9
| |
* | Fixed incorrect specialization (missed IS_INDIRECT handling)Dmitry Stogov2019-07-163-424/+424
| |
* | Fix bug #77124Nikita Popov2019-07-152-1/+5
| | | | | | | | | | This is a backport of 6fcae63f614d1ed4aaeaff7b13a7a4627b1f1312 to PHP 7.2.
* | Fix #78269 password_hash uses weak options for argon2Remi Collet2019-07-153-7/+6
| |
* | Fix bug #78291 Missing opcache directivesAndrew Collington2019-07-153-7/+40
| | | | | | | | | | | | | | | | | | New opcache directives have been added recently which are returned if using `ini_get_all('zend opcache')` but are not listed in the directives if using `opcache_get_configuration()`. This fix adds those missing directives as well as if `opcache.mmap_base` is used instead of `opcache.lockfile_path`. Also adds a test to ensure the directives match with both methods of fetching.
* | Use TRY_ADDREF/TRY_DELREF in soapNikita Popov2019-07-121-2/+2
| | | | | | | | | | The DELREF part is a possible fix for bug #78278, the ADDREF part is a drive-by fix.
* | Fixed bug #78279Nikita Popov2019-07-122-6/+11
| | | | | | | | | | Even if we don't initialize the callback on every request, we should still reset our globals to default values...
* | Revert "Fixed bug #76980"Nikita Popov2019-07-092-29/+11
| | | | | | | | | | | | | | | | This reverts commit 35353dc49a73a58c17c7896c4c4c3997ef2c007d. This changes causes issues for Symfony, see https://github.com/symfony/symfony/issues/32395. I'm reverting it from PHP 7.2 and PHP 7.3 and only leaving it in PHP 7.4.
* | Merge branch 'PHP-7.1' into PHP-7.2Christoph M. Becker2019-07-094-14202/+33762
|\ \ | |/ | | | | | | * PHP-7.1: Upgrade to SQLite 3.28.0
| * Upgrade to SQLite 3.28.0Christoph M. Becker2019-07-094-18037/+42886
| | | | | | | | | | | | | | | | Over the years, multiple security vulnerabilities[1] have been found and fixed in SQLite3, so it makes sense to update our bundled libsqlite to the latest available version. [1] <https://www.cvedetails.com/vulnerability-list/vendor_id-9237/Sqlite.html>
* | Update NEWS [ci skip]Peter Kokot2019-07-081-3/+10
| |
* | Backport fe_reset_rw caseNikita Popov2019-07-051-0/+1
| |
* | Fix inference for compound object op on dimNikita Popov2019-07-052-2/+28
| |
* | Updated to LiteSpeed SAPI V7.4.3George Wang2019-07-042-4/+268
| | | | | | | | | | | | | | Increased response header count limit from 100 to 1000. Added crash handler to cleanly shutdown PHP request. Added CloudLinux mod_lsapi mode Fixed bug #76058
* | Fixed bug #78231Nikita Popov2019-07-032-1/+6
| |
* | Fix #78241: touch() does not handle dates after 2038 in PHP 64-bitChristoph M. Becker2019-07-033-1/+37
| | | | | | | | | | | | `time_t` defaults to `_time64` (which is 64bit signed) even on x86, but `Int32x32To64()` truncates it to signed 32bit. We replace the macro with the "manual" calculation.
* | Backport test fixNikita Popov2019-07-021-56/+56
| | | | | | | | Closes GH-3816.