| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
init corrupts memory)"
This reverts commit a297c09da5ad355d53a8e8ea72655a06d15b7bc7.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Check if data would overlap and also add an assert. Previous
implementations didn't have this issue, as the direct assignment was
used.
Signed-off-by: Anatol Belski <ab@php.net>
|
|\
| |
| |
| |
| | |
* PHP-7.3:
Fixed bug #79570
|
| |
| |
| |
| |
| |
| |
| | |
Use the same logic for getgrgid_r, getpwnam_r and getpwuid_r
as for getgrnam_r in #75696
Closes GH-5740.
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Make sure we don't use zresource after the stream has been destroyed.
|
| |
| |
| |
| |
| | |
The putenv trick doesn't work on ZTS Windows, so generate a new
openssl config every time.
|
| |
| |
| |
| | |
Closes GH-5738.
|
| |
| |
| |
| |
| |
| | |
We need libzip 1.7.1, because libzip 1.7.0 is broken.
Closes GH-5737.
|
| |
| |
| |
| |
| | |
The newly de-XFAILed tests have a race condition. Make sure we
terminate only after expecting all the log lines.
|
| |
| |
| |
| |
| |
| | |
These were XFAILed due to a bug in the log implementation that
caused intermittent failures. However, this issue is supposed to
be resolved in the meantime, so try dropping the XFAIL marker.
|
| |
| |
| |
| |
| | |
We want to test the client side error here, so make sure the
server side can start up successfully.
|
| |
| |
| |
| |
| |
| |
| | |
And switch tests using SAN certificates to the generator.
This is ugly, but there doesn't seem to be a more direct way
to privide SAN in PHP.
|
| |
| |
| |
| | |
I forgot to update NEWS after merging back then.
|
| | |
|
| |
| |
| |
| |
| | |
The certificate really doesn't matter here, but it still needs to
comply with security level...
|
| |
| |
| |
| | |
Make this test pass under security level 2.
|
| |
| |
| |
| | |
This reverts commit b281493503401a2b5c45c11fcd0498d8448998c2.
|
| |
| |
| |
| |
| | |
People should not have to worry about the used openssl version
when downgrading security_level.
|
| |
| |
| |
| |
| |
| | |
The `security_level` stream option is only available as of OpenSSL
1.1.0, so we only set it for these versions. Older OpenSSL versions
do not have security levels at all.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This migrates all the tests using ext/openssl/tests/streams_crypto_method.pem
to the certificate generator, so we can easily adjust needed parameters.
In particular, this makes the cert security level 2 compatible.
However, we still need to downgrade security_level to 1 in a number
of tests, because they are testing TLS < 1.2 connections.
|
| |
| |
| |
| |
| | |
We use sizeof() on ini defaults, so this isn't safe. I can't reproduce
the failures locally, but I expect this to fix the asan jobs.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Saw a spurious failure from this one on azure macos, presumably
the process got interrupted in the middle and waited for more than
one second to resume.
After looking a bit more closely, this test doesn't actually test
what bug #48187 reported, because there is no DateTime::diff()
anywhere to be found. This test was also added speculatively,
because the root cause was never diagnosed, and the problems seems
to have resolved itself at some point.
As such, I'm simply dropping this test, rather than figuring out
how to make it more robust.
|
| |
| |
| |
| |
| |
| |
| |
| | |
This makes the generated certificates compatible with security
level 2, which is apparently the default on Ubuntu 20.04.
Unfortunately this does not fix all tests, because some are using
pre-generated certificates.
|
| |
| |
| |
| |
| | |
Installing a callback handler may cause libedit to register new
signals during the request.
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix #79687: Sony picture - PHP Warning - Make, Model, MakerNotes
|
| |
| |
| |
| |
| |
| |
| | |
Even if the length of a maker note does not match our expectations
(either because the maker note is corrupted, or because our
expectations do not quite match reality), there is no need to let
parsing fail; we can still go on parsing the other meta information.
|
| |
| |
| |
| |
| | |
For some reason this seems to pick up the amd64 library (though
we do install the i386 one).
|
| |
| |
| |
| | |
Make sure things stay synchronized between different x64 jobs.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix #79676: imagescale adds black border with IMG_BICUBIC
|
| |
| |
| |
| |
| | |
We have to loop over all image pixels to avoid the black border. This
is also done in external libgd in `_gdScaleOneAxis` and `_gdScalePass`.
|
| |
| |
| |
| | |
This one was quite a journey...
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Exception should be thrown before the db handle is destroyed.
The backtrace excerpt
==26628== Invalid read of size 4
==26628== at 0x53C49E3: sqlite3_errmsg (in /usr/lib64/libsqlite3.so.0.8.6)
==26628== by 0x38C4E9: zim_sqlite3_open (sqlite3.c:142)
==26628== by 0x8977BF: ZEND_DO_FCALL_SPEC_RETVAL_UNUSED_HANDLER (zend_vm_execute.h:1618)
==26628== by 0x8F801E: execute_ex (zend_vm_execute.h:53824)
==26628== by 0x8FC0BB: zend_execute (zend_vm_execute.h:57920)
==26628== by 0x828F54: zend_execute_scripts (zend.c:1672)
==26628== by 0x793C2C: php_execute_script (main.c:2621)
==26628== by 0x8FEA44: do_cli (php_cli.c:964)
==26628== by 0x8FF9DC: main (php_cli.c:1359)
Signed-off-by: Anatol Belski <ab@php.net>
|
| | |
|
| |
| |
| |
| |
| |
| | |
We backport the respective fix for MP3s[1].
[1] <https://github.com/file/file/commit/5a55569a35eff686d4b7400b219d380f7c622890>
|
| |
| |
| |
| | |
Seems to be necessary now...
|
| |
| |
| |
| |
| |
| |
| | |
The output normalization of bless_tests.php only detected absolute Unix
filenames; we extend this for absolute Windows filenames, regardless of
the platform we're running on (tests may have been run on Windows, but
bless_tests.php may be run from WSL or a Linux VM, for instance).
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
corrupts memory)
In module startup stage, we should not initiliaze
EG(modified_ini_directives) as it use zend MM, the zend MM will be
restart at the end of modules startup stage,
by say "partial", because this issue still exists if altering ZEND_USER
inis, we should add a zend_ini_deactive at the end of modules startup
stage, but it brings some new cost, and I think no one would do things
like that
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix possibly unsupported timercmp() usage
|
| |
| |
| |
| |
| |
| |
| |
| | |
The `timercmp()` manpage[1] points out that some systems have a broken
implementation which does not support `>=`. This is definitely the
case for the Windows SDK, which only supports `<` and `>`.
[1] <https://linux.die.net/man/3/timercmp>
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix #62890: default_socket_timeout=-1 causes connection to timeout
|
| |
| |
| |
| |
| |
| | |
While unencrypted connections ignore negative timeouts, SSL/TLS
connections did not special case that, and so always failed due to
timeout.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
[ci skip] Update NEWS
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Reset fake_scope during __toString() call.
I'll check if we can solve this more globally in master, by
resetting fake_scope in zend_call_function.
|