History log of /php-src/NEWS (Results 1701 – 1725 of 15454)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# b3e6faed 19-Jun-2022 Jakub Zelenka

Merge branch 'PHP-8.0' into PHP-8.1


# e330f443 12-Jun-2022 Jakub Zelenka

Fix bug #67764: fpm: syslog.ident does not work

# 2d986310 09-Feb-2022 Max Kellermann

streams/xp_socket: eliminate poll() when MSG_DONTWAIT is available

If there is a zero timeout and MSG_DONTWAIT is available (or the
socket is non-blocking), the poll() call is not necess

streams/xp_socket: eliminate poll() when MSG_DONTWAIT is available

If there is a zero timeout and MSG_DONTWAIT is available (or the
socket is non-blocking), the poll() call is not necessary, and we can
just call recv() right away.

Before this change:

poll([{fd=4, events=POLLIN|POLLPRI|POLLERR|POLLHUP}], 1, 0) = 0 (Timeout)
poll([{fd=4, events=POLLIN|POLLERR|POLLHUP}], 1, 60000) = 1 ([{fd=4, revents=POLLIN}])
recvfrom(4, "HTTP/1.1 301 Moved Permanently\r\n"..., 8192, MSG_DONTWAIT, NULL, NULL) = 348
poll([{fd=4, events=POLLIN|POLLPRI|POLLERR|POLLHUP}], 1, 0) = 1 ([{fd=4, revents=POLLIN}])
recvfrom(4, "", 1, MSG_PEEK, NULL, NULL) = 0

After this change:

recvfrom(4, 0x7ffe0cc719a0, 1, MSG_PEEK|MSG_DONTWAIT, NULL, NULL) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=4, events=POLLIN|POLLERR|POLLHUP}], 1, 60000) = 1 ([{fd=4, revents=POLLIN}])
recvfrom(4, "HTTP/1.1 301 Moved Permanently\r\n"..., 8192, MSG_DONTWAIT, NULL, NULL) = 348
recvfrom(4, "", 1, MSG_PEEK|MSG_DONTWAIT, NULL, NULL) = 0

The first poll() is replaced by recvfrom(), and the third poll() is
omitted completely.

ext/openssl/xp_ssl: eliminate poll() when MSG_DONTWAIT is available

If there is a zero timeout and MSG_DONTWAIT is available (or the
socket is non-blocking), the poll() call is not necessary, and we can
just call recv() right away.

Closes GH-8092.

show more ...

# 790be97f 18-Jun-2022 Christoph M. Becker

Merge branch 'PHP-8.1'

* PHP-8.1:
Fix GH-8778: Integer arithmethic with large number variants fails


# 5869e8a0 18-Jun-2022 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix GH-8778: Integer arithmethic with large number variants fails


# 651e0cc1 14-Jun-2022 Christoph M. Becker

Fix GH-8778: Integer arithmethic with large number variants fails

When casting a `variant` to `int`, we need to heed the proper `zval`
type, which is an signed 64bit integer on x64, whil

Fix GH-8778: Integer arithmethic with large number variants fails

When casting a `variant` to `int`, we need to heed the proper `zval`
type, which is an signed 64bit integer on x64, while `VT_INT` is only
a signed 32bit integer.

Closes GH-8779.

show more ...

# bb010adf 17-Jun-2022 Pierrick Charron

Merge branch 'PHP-8.0' into PHP-8.1


# d84b9726 17-Jun-2022 Pierrick Charron

Fixed CURLOPT_TLSAUTH_TYPE is not treated as a string option.

# cedd4598 17-Jun-2022 Christoph M. Becker

[ci skip] Merge branch 'PHP-8.1'

* PHP-8.1:
[ci skip] Fix NEWS format


# a8497cb8 17-Jun-2022 Christoph M. Becker

[ci skip] Fix NEWS format

# 5bb3e233 24-Apr-2022 tobil4sk

Implement #77726: Allow null character in regex patterns

In 8b3c1a3, this was disallowed to fix #55856, which was a security
issue caused by the /e modifier. The fix that was made was th

Implement #77726: Allow null character in regex patterns

In 8b3c1a3, this was disallowed to fix #55856, which was a security
issue caused by the /e modifier. The fix that was made was the
"Easier fix" as described in the original report.

With this fix, pattern strings are no longer treated as null terminated,
so null characters can be placed inside and matched against with regex
patterns without security problems, so there is no longer a reason to
give the error. Allowing this is consistent with the behaviour of many
other languages, including JavaScript, and thanks to PCRE2[0], it does
not require manually escaping null characters. Now that we can avoid the
error here without the cost of escaping characters, there is really no
need anymore to stray here from the conventional behaviour.

Currently, null characters are still disallowed before the first
delimiter and in the options section at the end of a regex string, but
these error messages have been updated.

[0] Since PCRE2, pattern strings no longer have to be null terminated,
and raw null characters match as normal.

Closes GH-8114.

show more ...

# 98a4ab22 17-Jun-2022 Christoph M. Becker

Merge branch 'PHP-8.1'

* PHP-8.1:
Fix imagecreatefromavif() memory leak


# 036bed01 17-Jun-2022 Christoph M. Becker

Fix imagecreatefromavif() memory leak

This has been reported as https://github.com/libgd/libgd/issues/831.
We port the respective fix to our bundled libgd.

Closes GH-8812.

# 3fed226e 17-Jun-2022 Derick Rethans

Merge branch 'PHP-8.0' into PHP-8.1


# fe97a5ae 17-Jun-2022 Derick Rethans

Merge remote-tracking branch 'derickr/bug77342' into PHP-8.0


# 75743eaf 16-Jun-2022 David Carlier

Merge branch 'PHP-8.0' into PHP-8.1


# a83363e3 15-Jun-2022 Heiko Weber

FPM: Fix use after free in `fpm_evaluate_full_path`
Closes #8796.

# e3c5237b 15-Jun-2022 Remi Collet

NEWS

# 26feb2e6 15-Jun-2022 Remi Collet

NEWS

# b9af4335 08-Jun-2022 Pierrick Charron

Add new curl_upkeep() function

# cec20f61 05-Jun-2022 Pierrick Charron

Expose new constants from libcurl 7.62 to 7.80

# e7f6acd0 13-Jun-2022 Christoph M. Becker

Merge branch 'PHP-8.1'

* PHP-8.1:
Fix handling of single-key connection strings


# 4b8bbfb6 13-Jun-2022 Christoph M. Becker

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix handling of single-key connection strings


# 445d9502 10-Jun-2022 Calvin Buckley

Fix handling of single-key connection strings

A connection string may contain just a single key, but
PHP used ";" as the heuristic to detect if a string was a connection
string versu

Fix handling of single-key connection strings

A connection string may contain just a single key, but
PHP used ";" as the heuristic to detect if a string was a connection
string versus plain DSN. However, a single-key connection string
would get treated like a DSN name, i.e. "DSN=*LOCAL". This makes it
so that "=" is used, as a connection string must contain a key.

Closes GH-8748.

show more ...

# 4a8c59d6 13-Jun-2022 Christoph M. Becker

[ci skip] Add missing NEWS entry

1...<<61626364656667686970>>...619