| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
| |
* PHP-7.3:
Fix bug #79465 - use unsigneds as indexes.
Fix bug #79330 - make all execution modes consistent in rejecting \0
|
| |
|
|\
| |
| |
| |
| | |
* PHP-7.3:
Next is 7.3.18
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix #79413: session_create_id() fails for active sessions
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| | |
It seems like on many filesystems nlink for directories is the
number of subdirectories (plus two, due to . and ..). However,
this is not a POSIX requirement, and some filesystems don't
implement it this way. This seems to be the case for whatever is
used on the Travis AArch64 builders now.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Since `DateTimeZone` does not implement a `compare_objects` handler,
nor has any properties, two `DateTimeZone` instances always compare as
being equal, even if they designate totally different timezones. Even
worse, after calling `var_dump()` on these objects, the actual
comparison may yield a correct result.
We therefore introduce a `compare_objects` handlers, which prevents
different behavior before/after `var_dump()`, and which allows us to
clearly define the intended semantics.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix #79427: Integer Overflow in shmop_open()
|
| |
| |
| |
| |
| |
| | |
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.
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix #79424 ext/zip: don't use gl_pathc after call to globfree
|
| |
| |
| |
| |
| | |
This breaks on Linux with the musl libc, since it zeroes out gl_pathc during
globfree.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Add missing 'skip' to bug79332.phpt skip message
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| | |
This causes issues down the line as char are unsigned on some platforms,
e.g. ARM and cause a [-Wtype-limits] warning to be emitted.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fixed bug #79412 (Opcache chokes and uses 100% CPU on specific script).
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix bug #79410 (system() swallows last chunk if it is exactly 4095 bytes without newline)
|
| |
| |
| |
| |
| |
| | |
without newline)
Closes GH-5292.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Add test file
|
| |
| |
| |
| | |
Forgot the git add again...
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Handle NULL caller_call_opline
|
| |
| |
| |
| |
| | |
This can happen if there is an EXIT in the call arguments, in which
case the DO_CALL opcode may be eliminated as unreachable.
|
| |
| |
| |
| | |
Cf. <http://git.php.net/?p=php-src.git;a=commit;h=db08ef0d3274b239a6b9e68d71d02bb6acb71d82>
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix test for Windows
|
| |
| |
| |
| |
| | |
Windows filenames may very well contain a colon, so we adjust the test
accordingly.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix #79200: Some iconv functions cut Windows-1258
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix #79393: Null coalescing operator failing with SplFixedArray
|
| |
| |
| |
| |
| |
| |
| | |
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
|
| | |
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| |
| | |
* PHP-7.3:
NEWS
Fix Bug #79296 ZipArchive::open fails on empty file
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Cf. <https://ci.appveyor.com/project/php/php-src/builds/31564684/job/k9u3xv860fao3n2e#L5578>
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix #79396: DateTime hour incorrect during DST jump forward
|
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| | |
We add Windows support to four existing test cases, extract some useful
utility functions, and use them to simplify further test cases.
We also remove the Windows specific code from preload.inc, since
preloading isn't supported on Windows anyway.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Clarify session.cookie_samesite="None"
|
| | |
|
| |
| |
| |
| | |
Use a more robust error condition...
|
| | |
|