| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
| |
The color resolution is expected in bits 4-6 of the packed fields byte
of the logical screen descriptor (byte 10 of the GIF data stream),
according to the specification[1], section 18.
[1] <https://www.w3.org/Graphics/GIF/spec-gif89a.txt>
|
|
|
|
|
|
| |
Since the member is not used in `OnUpdateEol()` that's not really an
issue, but still it's confusing to apparently have two INI settings
targeting the same member.
|
| |
|
|
|
|
|
| |
We must not do locale aware float to string conversion here; instead
we using our `snprintf()` implementation with the `F` specifier.
|
|
|
|
| |
We should display boolean INI settings as boolean.
|
|
|
|
|
| |
On Windows, PATH_TRANSLATED may contain backslashes as well as slashes,
so we must not only check for `DEFAULT_SLASH`.
|
| |
|
|\
| |
| |
| |
| |
| | |
* PHP-7.2:
bump version to 7.2.32-dev
Update NEWS
|
| | |
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| |
| |
| | |
* PHP-7.2:
Fix #78876: Long variables cause OOM and temp files are not cleaned
Fix #78875: Long filenames cause OOM and temp files are not cleaned
Update NEWS for 7.2.31
Update CREDITS for PHP 7.2.30
Update NEWS for PHP 7.2.30
|
| |
| |
| |
| | |
We use the proper type for size calculations, which is `size_t`.
|
| |
| |
| |
| |
| |
| | |
We must not cast `size_t` to `int` (unless the `size_t` value is
guaranteed to be less than or equal to `INT_MAX`). In this case we can
declare `array_len` as `size_t` in the first place.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Closes GH-5548.
|
| |
| |
| |
| |
| |
| |
| | |
We map the POSIX semantics of `IPC_PRIVATE` by creating unnamed file
mapping objects on Windows. While that is not particularly useful for
ext/shmop, which is the only bundled extension which uses `shmget()`,
it may be useful for external extensions.
|
| |
| |
| |
| |
| | |
Since Windows has its own definitions of the `PHP_DNS_*` macros, we
have to use these when registering the PHP constants.
|
| |
| |
| |
| |
| | |
We did not allocate a cache slot for FETCH_CLASS. This is already
fixed on newer PHP versions.
|
| |
| |
| |
| | |
This function is lacking any tests so far.
|
| |
| |
| |
| |
| |
| | |
Revert "Fix #61597: SXE properties may lack attributes and content"
This reverts commit 7c081db885756d7b176a55b90b8746f664d1e042.
|
| | |
|
| |
| |
| |
| |
| | |
We add support for Activision HSM (`IO_REPARSE_TAG_ACTIVISION_HSM`) and
VFS for Git (`IO_REPARSE_TAG_PROJFS`). The latter fixes bug #78784.
|
| | |
|
| |
| |
| |
| |
| | |
(cherry picked from commit a1a044dcc74379fafb2b63db5ab033aa062aada7
on author's explicit request)
|
| |
| |
| |
| |
| | |
Duplicate metadata can only happen if someone tampers with the phar, so
we can and should treat that as error.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The `start` parameter of `php_cgi_ini_activate_user_config` is supposed
to hold the byte offset of the doc root in the given `path`. However,
the current expression which fixes a potential type incompatibility
will ever only evaluate to zero or one, because it uses the *logical*
and operator (`&&`). Furthermore we notice that subtracting one from
`doc_root_len` is not necessary, so there is even no need for the
`start` parameter at all.
|
| |
| |
| |
| |
| |
| | |
This is the change from GH-5417 but for FPM. This was stripping the
last character from the doc_root. Given how it is used, this should
be harmless, but let's make it less confusing...
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
I stumbled upon this while debugging a strange issue with
stream_socket_client() where it randomly throws out errors when
the connection timeout is set to below 1s. The logic to calculate
time difference in php_openssl_subtract_timeval() is wrong when
a.tv_usec < b.tv_usec, causing connection errors before the timeout
is reached.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Make sure pointer types match what is used by libmysql everywhere.
Closes GH-5380.
|
| |
| |
| |
| | |
Make sure to deindirect properties when creating array.
|
| | |
|
|\ \
| |/
| |
| |
| |
| | |
* PHP-7.2:
Fixed bug #79468
NEWS
|
| |
| |
| |
| | |
Close the stream filter resources when removing them from the stream.
|
| | |
|
| |
| |
| |
| | |
Even if the accept fails, the peername may be populated.
|
| | |
|
| |
| |
| |
| | |
Close the stream filter resources when removing them from the stream.
|
| | |
|
|\ \
| |/
| |
| |
| |
| | |
* PHP-7.2:
Fix bug #79465 - use unsigneds as indexes.
Fix bug #79330 - make all execution modes consistent in rejecting \0
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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().
|
| |
| |
| |
| | |
This reverts commit 656eac74fa6074aebc087bb73d2e4651f7dc8c9e.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
If a text node is not followed by another text node, we remove it, if
its textContent is empty.
|