| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* PHP-7.3:
Update NEWS
Fix bug #79037 (global buffer-overflow in `mbfl_filt_conv_big5_wchar`)
Fix #79099: OOB read in php_strip_tags_ex
Fix #79091: heap use-after-free in session_create_id()
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Due to ASLR restrictions, preloading on Windows does not work with
any code that has preloading dependencies on internal classes.
This effectively makes it unusable for any non-trivial codebase.
Instead of pretending like preloading is going to work, only to
make people realize that it really doesn't once they get beyond
a dummy example, we disable support for preloading on Windows
entirely.
Closes GH-4999.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously this generated a notice, but would likely generate an
Error when unserializing.
Now we treat it with the same distinction as direct property
accesses, i.e. referencing an unset/undefined normal property
stays a notice, while a typed property becomes an Error exception.
This fixed bug #79002.
Closes GH-5050.
|
|\
| |
| |
| | |
Empty merge.
|
| |
| |
| |
| |
| |
| | |
This reverts commit 17a9f1401aeb35fe1e3657b38102a410d151d42f, because
this commit would break ABI, and also due to bug #79013.
We keep the commit for PHP 7.4+, though.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix #54298: Using empty additional_headers adding extraneous CRLF
|
| |
| |
| |
| |
| | |
If the header string is empty, we pass `NULL` to `php_mail()` to avoid
further checks on the string length.
|
| |
| |
| |
| |
| | |
OpenSSL 1.1 does not need crypto locking callbacks, so avoid
detecting and linking against it in the first place.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix #79068: gdTransformAffineCopy() changes interpolation method
|
| |
| |
| |
| |
| | |
We port
<https://github.com/libgd/libgd/commit/9088591eae437358ee5b929adf82865e37e3001e>.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Only set HAVE_CURL_OPENSSL flag, and remove Windows specific code,
as all of this is only relevant for OpenSSL < 1.1, which is not
used on Windows.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix #79067: gdTransformAffineCopy() may use unitialized values
|
| |
| |
| |
| |
| | |
We port
<https://github.com/libgd/libgd/commit/7a06c1669c563917bc48c464521e3de962ddb4e8>.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix #78808: [LMDB] MDB_MAP_FULL: Environment mapsize limit reached
|
| |
| |
| |
| |
| |
| |
| | |
We implement support for a fifth parameter, which allows to specify the
mapsize. The parameter defaults to zero, in which case the compiled in
default mapsize (usually 1048576) will be used. The mapsize should be
a multiple of the page size of the OS.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix #78538: shmop memory leak
|
| |
| |
| |
| |
| | |
If the descriptor's refcount drops to zero, we have to unmap the
respective file view, to avoid leaking memory.
|
| |
| |
| |
| |
| | |
With the 1ms tolerance this still occasionally fails on macos.
I love macos. It always works and causes no problems at all.
|
| |
| |
| |
| |
| |
| | |
This test fails intermittently due to taskill reporting failure to kill
the process (because it already has been terminated). We increase the
sleep time, to hopefully prevent that from happening again.
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix #79015: undefined-behavior in php_date.c
|
| |
| |
| |
| |
| |
| | |
We check that the given microsecond fraction is in the valid range
[0, 1000000[, and otherwise mark it as invalid. We also drop the
useless do loop; a plain block is sufficient here.
|
| |
| |
| |
| |
| |
| | |
This causes a warning on GCC 9 and is unnecessary to boot: We
only use "cwd" for the open_basedir check, so we can just as well
pass in the original string.
|
| |
| |
| |
| |
| | |
This has been fixed by 0f2cdbf214efd98b4bdaf5ca41728faf00e7c037,
add the test case.
|
|\ \
| | |
| | |
| | |
| | | |
* PHP-7.3:
Fixed bug #71876
|
| |/
| |
| |
| |
| |
| |
| | |
This is a backport of fcdc0a6db0ae63fbed9e3828137b899b844623ce
to the PHP-7.3 branch. We need to make sure that OnUpdateString
is also called for a NULL value, otherwise the reset of the encoding
at the end of the request will not work.
|
| | |
|
| |
| |
| |
| | |
The original test has been provided by divinity76.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix file cache serialization of property types. I'm changing the
overall type serialization format to perform additional adjustments
in order to yield a plausible pointer for zend_type, rather than
using an entirely separate serialization format, as was previously
done. That would have been annoying to extend to the case of CE
pointers.
|
| |
| |
| |
| | |
This is already done in master.
|
| |
| |
| |
| |
| |
| | |
If the script was serialized as file_cache_only (thus non-immutable)
and then gets unserialized into SHM, we need to allocate a new
run_time_cache slot and can't use the serialized arena pointer.
|
| |
| |
| |
| |
| | |
Otherwise we may get a memory protection fault here. Updating of
ZCSG(map_ptr_last) is handled when loading from file cache to SHM.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of populating a hashtable of property names and then
directly serializing.
This has the advantage of a) detecting duplicate properties more
precisely and b) gives us the ability to discard values without
rewriting the serialization string after the fact for GH-5027.
|
| | |
|
| |
| |
| |
| | |
And split code-paths for arrays and objects based on it.
|
| |
| |
| |
| |
| | |
This reverts commit 09e76cbe6d73399f3476942e7502de0bdbf65fa2, because
the test fails reliably on AppVeyor. This needs closer investigation.
|
| |
| |
| |
| | |
The actual test has been provided by divinity76.
|
| |
| |
| |
| |
| | |
`-fsanitize-address-use-after-scope` is the default as of clang 5.0.0,
and we don't allow to enable ASan for older versions anyway.
|
| | |
|
| |
| |
| |
| |
| |
| | |
These stats are used to check whether the file exists -- they
should not generate errors. Having the flag set is particularly
important for custom stream wrappers.
|
| | |
|
| |
| |
| |
| |
| | |
Make sure we abort operations early, and that we don't emit
additional warnings or errors if an exception has been thrown.
|
| | |
|
|\ \
| |/
| |
| |
| | |
* PHP-7.3:
Fix #79040: Warning Opcode handlers are unusable due to ASLR
|