History log of /php-src/NEWS (Results 2201 – 2225 of 15454)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 05ef6334 29-Jul-2021 Joe Watkins

Fix bug #81303 improve match errors

# 4645a9d1 29-Jul-2021 Christoph M. Becker

Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
Fix #81305: Built-in Webserver Drops Requests With "Upgrade" Header


# d1ccb5bd 29-Jul-2021 Christoph M. Becker

Fix #81305: Built-in Webserver Drops Requests With "Upgrade" Header

While our HTTP parser supports upgrade requests, the code using it does
not. Since upgrade requests are only valid fo

Fix #81305: Built-in Webserver Drops Requests With "Upgrade" Header

While our HTTP parser supports upgrade requests, the code using it does
not. Since upgrade requests are only valid for HTTP/1.1 and we neither
support any higher version, nor HTTPS yet, we do not exit early in case
of such requests, i.e. we ignore them, what is allowed by the specs.

We keep the supporting code in case we can meaningfully support upgrade
requests in the future.

Closes GH-7316.

show more ...

# 3244e078 28-Jul-2021 Christoph M. Becker

Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
Fix #81252: PDO_ODBC doesn't account for SQL_NO_TOTAL


# 98049e8b 21-Jul-2021 Christoph M. Becker

Fix #81252: PDO_ODBC doesn't account for SQL_NO_TOTAL

If `P->len` is negative (not only when it is `SQL_NULL_DATA`), we must
not go on, because the following code can't deal with that.

Fix #81252: PDO_ODBC doesn't account for SQL_NO_TOTAL

If `P->len` is negative (not only when it is `SQL_NULL_DATA`), we must
not go on, because the following code can't deal with that. This means
that the output parameter will be set to `NULL` without any indication
what went wrong, but it's still better than crashing.

Closes GH-7295.

show more ...

# 9d0db2e9 28-Jul-2021 Nikita Popov

Fixed bug #81298

Creation of the filter may fail for some special encodings, for
which detection is not supported.

# bf9afc18 27-Jul-2021 Christoph M. Becker

Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
Fix #81294: Segfault when removing a filter


# 1fa26ecc 26-Jul-2021 Christoph M. Becker

Fix #81294: Segfault when removing a filter

We need to call the proper method.

Closes GH-7308.

# 71879d38 23-Jul-2021 Christoph M. Becker

Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
Fix #81283: shmop can't read beyond 2147483647 bytes


# 387c0de9 23-Jul-2021 Christoph M. Becker

Fix #81283: shmop can't read beyond 2147483647 bytes

`start`, `count` and `shmop->size` are `zend_long`, so we must not
restrict to `INT_MAX`.

Closes GH-7301.

# 90ee1c36 23-Jul-2021 Nikita Popov

Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
Fix bug #66719


# dfd05da9 23-Jul-2021 Nikita Popov

Fix bug #66719

While parent:: should inherit the called scope, it should only do
so if it is compatible. If there is no called scope, or it is not
a subtype of the scope, we should f

Fix bug #66719

While parent:: should inherit the called scope, it should only do
so if it is compatible. If there is no called scope, or it is not
a subtype of the scope, we should fall back to the scope.

show more ...

# 338a47bb 23-Jul-2021 Nikita Popov

Fix bug #63327

Use ZEND_MM_ALIGNED_SIZE for the extra size information.
I don't have a relevant system to test, but this should fix the
issue as long as required alignment is detecte

Fix bug #63327

Use ZEND_MM_ALIGNED_SIZE for the extra size information.
I don't have a relevant system to test, but this should fix the
issue as long as required alignment is detected correctly.

show more ...

# 5ac55af5 23-Jul-2021 Nikita Popov

Add test for bug #80564

This has also been fixed by 3eb97a456648c739533d92c81102cb919eab01c9.

# 3eb97a45 22-Jul-2021 Nikita Popov

Always use separate static_members_table

When running without opcache, static_members_table is shared with
default_static_members_table. This is visible in reflection output,
because

Always use separate static_members_table

When running without opcache, static_members_table is shared with
default_static_members_table. This is visible in reflection output,
because ReflectionProperty::getDefaultValue() will return the
current value, rather than the default value.

Address this by never sharing the table, which matches the behavior
we already see under opcache.

Fixes bug #80821.

Closes GH-7299.

show more ...

# 053c56f5 21-Jul-2021 Dmitry Stogov

Fixed bug #81226 (Integer overflow behavior is different with JIT enabled)

# f03e7c84 21-Jul-2021 Christoph M. Becker

Merge branch 'PHP-7.4' into PHP-8.0

* PHP-7.4:
Fix #74960: Heap buffer overflow via str_repeat


# 760ff841 21-Jul-2021 Christoph M. Becker

Fix #74960: Heap buffer overflow via str_repeat

Trying to allocate a `zend_string` with a length only slighty smaller
than `SIZE_MAX` causes an integer overflow, so callers may need to

Fix #74960: Heap buffer overflow via str_repeat

Trying to allocate a `zend_string` with a length only slighty smaller
than `SIZE_MAX` causes an integer overflow, so callers may need to
check that explicitly. To make that easy in a portable way, we
introduce `ZSTR_MAX_LEN`.

Closes GH-7294.

show more ...

# a3a74b07 21-Jul-2021 Dmitry Stogov

Merge branch 'PHP-8.0'

* PHP-8.0:
Fixed Bug #80959 (infinite loop in building cfg during JIT compilation)


# a9991fbf 21-Jul-2021 Dmitry Stogov

Fixed Bug #80959 (infinite loop in building cfg during JIT compilation)

# 4cf7a258 20-Jul-2021 Dmitry Stogov

Merge branch 'PHP-8.0'

* PHP-8.0:
Fixed Bug #81255 (Memory leak in PHPUnit with functional JIT)


# 02acc5ad 20-Jul-2021 Dmitry Stogov

Fixed Bug #81255 (Memory leak in PHPUnit with functional JIT)

# 718b675f 20-Jul-2021 Ben Ramsey

The master branch is now for 8.1.0beta2

# 051ff336 20-Jul-2021 Nikita Popov

Fix bug #81272: Fix func info for functions returning EMPTY_ARRAY

The empty array has refcount > 1, so we should indicate this in
func info. In most cases this renders the func info redu

Fix bug #81272: Fix func info for functions returning EMPTY_ARRAY

The empty array has refcount > 1, so we should indicate this in
func info. In most cases this renders the func info redundant,
so drop it entirely.

show more ...

# 1e4095f0 20-Jul-2021 Dmitry Stogov

Fixed bug #81256 (Assertion `zv != ((void *)0)' failed for "preload" with JIT)

1...<<81828384858687888990>>...619