summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Add missing CVEChristoph M. Becker2020-04-141-1/+1
| |
* | Merge branch 'PHP-7.2' into PHP-7.3Sara Golemon2020-04-140-0/+0
|\ \ | |/ | | | | | | | | * PHP-7.2: Fixed bug #79468 NEWS
| * Fixed bug #79468dinosaur2020-04-143-0/+29
| | | | | | | | Close the stream filter resources when removing them from the stream.
| * NEWSSara Golemon2020-04-141-0/+3
| |
* | Don't leak peername if accept failsNikita Popov2020-04-141-0/+3
| | | | | | | | Even if the accept fails, the peername may be populated.
* | Fix test casesChristoph M. Becker2020-04-142-2/+2
| |
* | Fixed bug #79468dinosaur2020-04-143-0/+31
| | | | | | | | Close the stream filter resources when removing them from the stream.
* | Add NEWS entries [ci skip]Christoph M. Becker2020-04-141-0/+2
| |
* | Merge branch 'PHP-7.2' into PHP-7.3Stanislav Malyshev2020-04-132-2/+11
|\ \ | |/ | | | | | | | | * PHP-7.2: Fix bug #79465 - use unsigneds as indexes. Fix bug #79330 - make all execution modes consistent in rejecting \0
| * Fix bug #79465 - use unsigneds as indexes.Stanislav Malyshev2020-04-131-2/+2
| |
| * Fix bug #79330 - make all execution modes consistent in rejecting \0Stanislav Malyshev2020-04-131-0/+9
| |
* | Fix memory leak introduced by fixing bug #78221Christoph M. Becker2020-04-081-2/+9
| | | | | | | | | | | | | | | | | | | | We have to free the retrieved text content; to keep the code readable, we extract a helper function to check for empty nodes. Unfortunately, we cannot use xmlIsBlankNode(), because that also recognizes whitespace only text content. We also make sure to properly handle NULL returns from xmlNodeGetContent().
* | Revert "Went to fast and forgot to update tests"George Peter Banyard2020-04-073-16/+32
| | | | | | | | This reverts commit 656eac74fa6074aebc087bb73d2e4651f7dc8c9e.
* | Revert "Fix Bug #79448 0 is a valid Unicode codepoint, but ↵George Peter Banyard2020-04-072-12/+1
| | | | | | | | | | | | | | | | | | mb_substitute_character(0) fails" This commit brings some substantial changes in behaviour due to the weird implementation. This will be fixed in master due to BC concerns. This reverts commit 1333b46d6dc0c293c1fd626803f91bc69743eb79.
* | Fix #78221: DOMNode::normalize() doesn't remove empty text nodesChristoph M. Becker2020-04-073-0/+29
| | | | | | | | | | If a text node is not followed by another text node, we remove it, if its textContent is empty.
* | Went to fast and forgot to update testsGeorge Peter Banyard2020-04-033-32/+16
| | | | | | | | However due to the really lax conversion to integer all strings pass as 0
* | Fix Bug #79448 0 is a valid Unicode codepoint, but ↵George Peter Banyard2020-04-032-1/+12
| | | | | | | | mb_substitute_character(0) fails
* | Fix incorrect free for last_messageQianqian Bu2020-04-031-1/+1
| | | | | | | | | | | | | | | | In commit a7305eb539596e175bd6c3ae9a20953358c5d677 the last_message field of the connection object was changed to be always non-persistent. But there is a place on change_user path that still treats it depending on conn->persistent flag. This will cause PHP crash after com_change_user success when there is last_message set
* | Fixed bug #79434Nikita Popov2020-04-023-14/+26
| |
* | Fix literal compaction collision between string and doubleNikita Popov2020-04-012-3/+8
| | | | | | | | | | For the sake of simplicity I'm using a separate hashtable, rather than trying to do hash perturabation on the double strings.
* | Add NEWS entryc [ci skip]Christoph M. Becker2020-04-011-0/+4
| |
* | Fix bug 79441George Peter Banyard2020-04-013-4/+17
| |
* | Next is 7.3.18Christoph M. Becker2020-03-314-6/+8
| |
* | Fix #79413: session_create_id() fails for active sessionsChristoph M. Becker2020-03-314-3/+21
| | | | | | | | | | | | | | | | | | The comment on `PS_VALIDATE_SID_FUNC(files)` is very clear that the function is supposed to return `SUCCESS` if the session already exists. So to detect a collision, we have to check for `SUCCESS`, not `FAILURE`. We also fix the wrong condition in session_regenerate_id() as well.
* | Fix #79427: Integer Overflow in shmop_open()Christoph M. Becker2020-03-302-0/+8
| | | | | | | | | | | | If `shm.shm_segsz > ZEND_LONG_MAX` the assignment to `shmop->size` a few lines below would overflow, so we catch that early and bail out if necessary.
* | Fix #79424 ext/zip: don't use gl_pathc after call to globfreeMax Rees2020-03-292-1/+4
| | | | | | | | | | This breaks on Linux with the musl libc, since it zeroes out gl_pathc during globfree.
* | Add missing 'skip' to bug79332.phpt skip messageLukas Berger2020-03-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The skip message must start with the word 'skip', otherwise the test will not be skipped. *Before:* Running selected tests. TEST 1/1 [ext/com_dotnet/tests/bug79332.phpt] ========DIFF======== 001+ Fatal error: Uncaught Error: Class 'COMPersistHelper' not found in /srv/php/ext/com_dotnet/tests/bug79332.php:2 001- A com_exception has been thrown 002+ Stack trace: 003+ #0 {main} 004+ thrown in /srv/php/ext/com_dotnet/tests/bug79332.php on line 2 ========DONE======== FAIL Bug #79332 (php_istreams are never freed) [ext/com_dotnet/tests/bug79332.phpt] *After:* Running selected tests. SKIP Bug #79332 (php_istreams are never freed) [ext/com_dotnet/tests/bug79332.phpt] reason: com_dotnet extension not available
* | Fixed bug #79412 (Opcache chokes and uses 100% CPU on specific script).Dmitry Stogov2020-03-253-3/+45
| |
* | Fix bug #79410 (system() swallows last chunk if it is exactly 4095 bytes ↵Christian Schneider2020-03-253-0/+21
| | | | | | | | | | | | without newline) Closes GH-5292.
* | Add test fileNikita Popov2020-03-231-0/+19
| | | | | | | | Forgot the git add again...
* | Handle NULL caller_call_oplineNikita Popov2020-03-234-6/+16
| | | | | | | | | | This can happen if there is an EXIT in the call arguments, in which case the DO_CALL opcode may be eliminated as unreachable.
* | Fix test for WindowsChristoph M. Becker2020-03-231-1/+1
| | | | | | | | | | Windows filenames may very well contain a colon, so we adjust the test accordingly.
* | Fix #79200: Some iconv functions cut Windows-1258Christoph M. Becker2020-03-233-38/+68
| | | | | | | | | | | | | | | | | | | | | | To cater to potentially state-dependent encodings, we have to reset the conversion descriptor into its initial shift state to properly finish the conversion. Furthermore, state-dependent encodings may not show progress when comparing `in_left` before and after the conversion; we rather have to see whether `out_left` has decreased. Also we have to cater to the fact that the final potentially state resetting call does not signal failure, but we still have to break respective loops afterwards.
* | Fix #79393: Null coalescing operator failing with SplFixedArrayChristoph M. Becker2020-03-233-13/+31
| | | | | | | | | | | | | | We favor the KISS principle over optimization[1] – SPL is already special enough. [1] <https://github.com/php/php-src/pull/2489/commits/352f3d4476a79bb86136b431719df7394e5a8d4e#r112498098>ff
* | NEWSRemi Collet2020-03-201-0/+3
| |
* | Fix Bug #79296 ZipArchive::open fails on empty fileRemi Collet2020-03-201-0/+15
| |
* | Fix #79396: DateTime hour incorrect during DST jump forwardNate Brunette2020-03-193-0/+29
| | | | | | | | | | When you attempt to set the time to a non-existent time occuring during a DST jump forward, the hour does not move forward correctly.
* | Clarify session.cookie_samesite="None"Nikita Popov2020-03-182-2/+4
| |
* | Merge branch 'PHP-7.2' into PHP-7.3Remi Collet2020-03-170-0/+0
|\ \ | |/ | | | | | | * PHP-7.2: bump verison to 7.2.30-dev
| * bump verison to 7.2.30-devRemi Collet2020-03-173-5/+8
| |
* | Merge branch 'PHP-7.2' into PHP-7.3Christoph M. Becker2020-03-171-10/+10
|\ \ | |/ | | | | | | * PHP-7.2: Fix NEWS
| * Fix NEWSChristoph M. Becker2020-03-171-5/+5
| |
* | Merge branch 'PHP-7.2' into PHP-7.3Christoph M. Becker2020-03-170-0/+0
|\ \ | |/ | | | | | | | | | | | | * PHP-7.2: [ci skip] Update NEWS Fix test Fix bug #79329 - get_headers should not accept \0 Fixed bug #79282
| * [ci skip] Update NEWSStanislav Malyshev2020-03-151-0/+7
| |
| * Fix testStanislav Malyshev2020-03-151-1/+1
| |
| * Fix bug #79329 - get_headers should not accept \0Stanislav Malyshev2020-03-151-1/+1
| |
| * Fixed bug #79282Stanislav Malyshev2020-03-152-1/+21
| |
* | [ci skip] Update NEWSStanislav Malyshev2020-03-161-0/+10
| |
* | Fix testStanislav Malyshev2020-03-161-1/+1
| |
* | Fix bug #79329 - get_headers should not accept \0Stanislav Malyshev2020-03-161-1/+1
| |