History log of /php-src/NEWS (Results 826 – 850 of 15454)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 7353c7ce 08-Nov-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-12621: browscap segmentation fault when configured in the vhost

The temporary HashTable has a destructor that releases the string held
by the entry's value. However, browscap_inte

Fix GH-12621: browscap segmentation fault when configured in the vhost

The temporary HashTable has a destructor that releases the string held
by the entry's value. However, browscap_intern_str(_ci) only incremented
the refcount for the reference created by the return value. As the
HashTable is only used during parsing, we don't need to manage the
reference count of the value anyway, so get rid of the destructor.

This is triggerable in two cases:
- When using php_admin_value to set the ini at the activation stage
- When running out of space for the opcache-interned strings

Closes GH-12634.

show more ...


# 333cf3c1 11-Nov-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-12635: Test bug69398.phpt fails with ICU 74.1

ICU 74.1 contains new locale data that breaks the test.
Split the test based on the version number to resolve the issue.

Clo

Fix GH-12635: Test bug69398.phpt fails with ICU 74.1

ICU 74.1 contains new locale data that breaks the test.
Split the test based on the version number to resolve the issue.

Closes GH-12653.

show more ...


# 63898008 10-Nov-2023 Dmitriy Degtyaryov

Fix GH-9344: pgsql pipeline mode proposal.

Adding pg_send_flush_request.
Fix freeze after next execute pg_send_* on PQgetResult in _php_pgsql_link_has_results.
Set nonblocking for pi

Fix GH-9344: pgsql pipeline mode proposal.

Adding pg_send_flush_request.
Fix freeze after next execute pg_send_* on PQgetResult in _php_pgsql_link_has_results.
Set nonblocking for pipelining mode.
No flush client buffer in pg_send_* for pipelining mode.

Close GH-12644

show more ...


# 2a4775d6 09-Nov-2023 SakiTakamachi

Fix GH-12633: sqlite3_defensive.phpt fails with sqlite 3.44.0

Removes 'PRAGMA writable_schema;'.

From sqlite changelog https://www.sqlite.org/releaselog/3_44_0.html:
> The SQLIT

Fix GH-12633: sqlite3_defensive.phpt fails with sqlite 3.44.0

Removes 'PRAGMA writable_schema;'.

From sqlite changelog https://www.sqlite.org/releaselog/3_44_0.html:
> The SQLITE_DBCONFIG_DEFENSIVE setting now prevents PRAGMA writable_schema
> from being turned on.
> Previously writable_schema could be turned on, but would not actually allow
> the schema to be writable. Now it simply cannot be turned on.

Closes GH-12636.

show more ...


# 78fba9cb 08-Nov-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-12628: The gh11374 test fails on Alpinelinux

Closes GH-12636.


# 10b2b4a5 23-Oct-2023 Daniil Gentili

Fix memory leak in standard syslog device handling

The BG(syslog_device) is leaked in RINIT.

Closes GH-12501


# cb1e8429 06-Nov-2023 Ilija Tovilo

Fix inference of COPY_TMP

Since GH-11592 COPY_TMP may receive and thus define references. Unfortunately,
the name COPY_TMP is no longer accurate.

Closes GH-12619


# 92e4e8bd 04-Nov-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix #49278: SoapClient::__getLastResponseHeaders returns NULL if wsdl operation !has output

Instead of early exiting, process the headers if tracing is enabled, and
exit after that.

Fix #49278: SoapClient::__getLastResponseHeaders returns NULL if wsdl operation !has output

Instead of early exiting, process the headers if tracing is enabled, and
exit after that.

Closes GH-12609.

show more ...


# 44f9c226 29-Oct-2023 David Carlier

following-up on GH-12551: removing inet_ntoa usage

Close GH-12554


# 4022e287 05-Nov-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

[ci skip] NEWS


# a8c6c616 07-Oct-2023 Jakub Zelenka

Fix GH-9921: Loading ext in FPM config does not register module handlers

Closes GH-12377


# e3d1beb0 08-Oct-2023 Jakub Zelenka

Fix bug #76922: FastCGI terminates conn after FCGI_GET_VALUES

Closes GH-12387


# 20c9c4a3 02-Nov-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix validation logic of php:function() callbacks in dom and xsl

Two issues:
- Assumed that at least 1 argument (function name) was provided.
- Incorrect error path for the non-callab

Fix validation logic of php:function() callbacks in dom and xsl

Two issues:
- Assumed that at least 1 argument (function name) was provided.
- Incorrect error path for the non-callable case.

Closes GH-12593.

show more ...


# ddabe89a 02-Nov-2023 Ilija Tovilo

Fix OP1 leak in error path of post inc/dec

Fixes oss-fuzz #63802
Closes GH-12599


# 0da1356c 30-Oct-2023 David Carlier

ext/intl: change when the locale is invalid for the 8.1/8.2 serie.

does not throws an exception as it's considered as a too string change,
but the code user still needs to double check.


# d4e40dc0 31-Oct-2023 Máté Kocsis

Fix GH-12558 Escape \N in generated stubs (#12562)


# 3e33eda3 28-Oct-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix cloning attribute with namespace disappearing namespace

Closes GH-12547.


# a470c4ae 28-Oct-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-12532: PharData created from zip has incorrect timestamp

The datetime stored in the DOS time fields, which is what zip standard
uses, is local time without a timezone. There's an

Fix GH-12532: PharData created from zip has incorrect timestamp

The datetime stored in the DOS time fields, which is what zip standard
uses, is local time without a timezone. There's an extension to the zip
file format since '97 that allows storing a unix timestamp (in UTC) in
the header for both the central directory and the local entries.
This patch adds support for this.

Closes GH-12548.

show more ...


# 1c8943bc 29-Oct-2023 David Carlier

cleanup inet_ntoa usage.

starting with the socket extension. PHP 8 requires windows vista/2008
minimum, even more exotic systems like solaris or haiku supports
inet_ntop, so there is

cleanup inet_ntoa usage.

starting with the socket extension. PHP 8 requires windows vista/2008
minimum, even more exotic systems like solaris or haiku supports
inet_ntop, so there is no need to keep supporting this old interface.

Close GH-12551

show more ...


# 53218b1a 27-Oct-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Mitigate #51561: SoapServer with a extented class and using sessions, lost the setPersistence()

The problem is that in the testcase, the session is started before the
parent class is loa

Mitigate #51561: SoapServer with a extented class and using sessions, lost the setPersistence()

The problem is that in the testcase, the session is started before the
parent class is loaded. This causes an incomplete class in the session
storage. Then in the soap code the check
`Z_OBJCE_P(tmp_soap_p) == service->soap_class.ce` fails because it is
the incomplete class. It is a silent failure.

We cannot fix this easily. But we should let the user know something is
wrong, because it leaves them confused otherwise. So emit an error to
let them know and suggest a fix.

Closes GH-12540.

show more ...


# e9d5f918 29-Oct-2023 Arnaud Le Blanc

[ci skip] NEWS


# c7fda3b4 29-Oct-2023 Arnaud Le Blanc

[ci skip] NEWS


# 29dbc4ae 29-Oct-2023 Arnaud Le Blanc

[ci skip] NEWS


# f9a24969 27-Oct-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix #47531: No way of removing redundant xmlns: declarations

Now it's possible via removeAttribute("xmlns:prefix").
It was not possible to reuse a libxml2 function to reconcile because i

Fix #47531: No way of removing redundant xmlns: declarations

Now it's possible via removeAttribute("xmlns:prefix").
It was not possible to reuse a libxml2 function to reconcile because it
does not align with DOM behaviour.

Closes GH-12542.

show more ...


# 79e1830d 28-Oct-2023 Arnaud Le Blanc

[ci skip] NEWS


1...<<31323334353637383940>>...619