History log of /php-src/NEWS (Results 551 – 575 of 15458)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 74843947 20-Apr-2024 David Carlier

sapi/cgi: fix buffer limit on windows.

MSDN recommends dropping the deprecated `read` in favor of `_read`.
Also, the buffer size limit is INT_MAX.

Close GH-14022


# 4167d750 30-Apr-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

[ci skip] Fix typo in NEWS


# 2dbe2d62 30-Apr-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix crash when calling childNodes next() when iterator is exhausted

Closes GH-14091.


# 30a0b035 30-Apr-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix references not handled correctly in C14N

Closes GH-14090.


# e878b9f3 30-Apr-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix crashes when entity declaration is removed while still having entity references

libxml doesn't do reference counting inside its node types. It's
possible to remove an entity declarat

Fix crashes when entity declaration is removed while still having entity references

libxml doesn't do reference counting inside its node types. It's
possible to remove an entity declaration out of the document, but then
entity references will keep pointing to that stale declaration. This
will cause crashes.

One idea would be to check when a declaration is removed, to trigger a
hook that updates all references. However this means we have to keep
track of all references somehow, which would be a high-overhead
solution. The solution in this patch makes sure that the fields are
always updated before they are read.

Closes GH-14089.

show more ...


# 1cf4cc38 21-Mar-2024 David Carlier

ext/intl: IntlDateFormatter::parseToCalendar addition.

Unlike IntlDateFormatter::parse, the timezone is updated
accordingly.

Close GH-13779


# 956c3c2c 12-Apr-2024 Adam Saponara

ext/openssl: Add option to load legacy algorithm provider

OpenSSL 3.x relegated a set of insecure algorithms to a "legacy"
provider which is not loaded by default. Some of these algorith

ext/openssl: Add option to load legacy algorithm provider

OpenSSL 3.x relegated a set of insecure algorithms to a "legacy"
provider which is not loaded by default. Some of these algorithms
have utility beyond encryption such as for hashing, e.g., DES[1]

Add a compile-time option to load the legacy provider in 3.x. When
enabled, also load the default provider because loading any provider
explicitly disables auto-loading the default provider.

[1] https://github.com/vitessio/vitess/blob/9e40015748ede158357bd7291f583db138abc3df/go/vt/vtgate/vindexes/hash.go#L157

Closes GH-13951

show more ...


# d5d227a4 28-Apr-2024 David CARLIER

[ci skip] ext/sockets: followup on #14065. (#14066)

freebsd supports SO_NOSIGPIPE too.


# b147a22b 28-Apr-2024 David Carlier

ext/sockets: adding SO_NOSIGPIPE constant.

it s the macOs way to disable the SIGPIPE signal emission, same
as doing `signal(SIGPIPE, SIG_IGN)` but on the socket level.

Close GH

ext/sockets: adding SO_NOSIGPIPE constant.

it s the macOs way to disable the SIGPIPE signal emission, same
as doing `signal(SIGPIPE, SIG_IGN)` but on the socket level.

Close GH-14065

show more ...


# 243827b8 27-Apr-2024 David Carlier

Fix GH-13519: another attempt after the faulty fix.

Close GH-14055


# 3a300e92 19-Apr-2024 David Carlier

ext/pcntl: signals list update for dragonflybsd related to checkpoint.

- SIGCKPT checkpoint and continue.
- SIGCKPTEXIT checkpoint and exit.

Close GH-14011


# 44775b76 22-Apr-2024 Peter Kokot

Fix GH-13727: Building with -Werror=strict-prototypes (#14029)

This is addon to the GH-13727 bug fix. When configuring the build with:

./configure CFLAGS=-Werror=strict-prototypes

Fix GH-13727: Building with -Werror=strict-prototypes (#14029)

This is addon to the GH-13727 bug fix. When configuring the build with:

./configure CFLAGS=-Werror=strict-prototypes

libtool check for parsing nm command would fail:

checking command to parse /usr/bin/nm -B output from cc object... failed

Upstream libtool has this specific check already fixed. Note that this
works only with Autoconf version 2.72 and later and is preparation for
future compilers that might have this error enabled by default.

show more ...


# f8b9030b 16-Feb-2024 SATO Kentaro

Temporary reset filename and lineno override before autoload

Closes GH-10232
Closes GH-13313


# 7d3d8de1 21-Apr-2024 Peter Kokot

Fix erroneous dnl appended in configure (#14013)

This is a backport of commit 03f15534a17c7031b89dac7aaa21d59474517321 to
PHP-8.2 due to GH-14002 and fixes the PHP_CXX_COMPILE_STDCXX che

Fix erroneous dnl appended in configure (#14013)

This is a backport of commit 03f15534a17c7031b89dac7aaa21d59474517321 to
PHP-8.2 due to GH-14002 and fixes the PHP_CXX_COMPILE_STDCXX check in
ext/intl whether the specified C++ standard is mandatory or optional.

The `dnl` (Discard to Next Line) M4 macro in this combination of `m4_if`
macros and arguments isn't properly replaced and a literal `dnl` string
is appended in the configure script. The `[]dnl` works ok.

show more ...


# dd1a32dc 21-Apr-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

NEWS

Closes GH-13782.


# 42443b4c 20-Apr-2024 David Carlier

ext/session: fix _read/_write buffer limit.

MSDN pages mention the buffer size upper limit is INT_MAX not UINT_MAX.
inspired by GH-13205.

Close GH-14017


# 2a1aa8ca 20-Apr-2024 Saki Takamachi

Fix GH-13998: Manage refcount of agg_context->val correctly (#14004)

When step_callback fails, agg_context->val is passed dtor, but agg_context->val
is also used in final_callback regard

Fix GH-13998: Manage refcount of agg_context->val correctly (#14004)

When step_callback fails, agg_context->val is passed dtor, but agg_context->val
is also used in final_callback regardless of the success/failure of step_callback,
so should not call dtor.

closes #14004
fixes #13998

show more ...


# b3e26c30 19-Apr-2024 Ilija Tovilo

Fix missing handling of CALLABLE_CONVERT in cleanup_unfinished_calls()

Fixes GH-14003


# fda91a05 17-Apr-2024 Saki Takamachi

Fix GH-13984: Buffer size is now checked before memcmp (#13991)

Fixed an issue where a buffer overflow occurred when a string shorter than
`:memory:` was passed as the db name of pdo_sql

Fix GH-13984: Buffer size is now checked before memcmp (#13991)

Fixed an issue where a buffer overflow occurred when a string shorter than
`:memory:` was passed as the db name of pdo_sqlite.

fixed #13984
closes #13991

show more ...


# 1acd7a09 17-Apr-2024 Ilija Tovilo

Add missing COMPILE_IGNORE_OTHER_FILES check for static calls

Closes GH-13986


# 812d19d6 16-Apr-2024 Arnaud Le Blanc

[ci skip] NEWS


# d47aaacf 16-Apr-2024 Arnaud Le Blanc

[ci skip] NEWS


# d4072667 11-Apr-2024 David Carlier

ext/pcntl: pcntl_getqos_class/pcntl_setqos_class addition.

Introducting macOs Quality Of Service through those two calls.
on macOs arm64/M*, there is no concept of individual cores, thus

ext/pcntl: pcntl_getqos_class/pcntl_setqos_class addition.

Introducting macOs Quality Of Service through those two calls.
on macOs arm64/M*, there is no concept of individual cores, thus
the old thread policy for cpu affinity does not work here.
Instead, the user can apply to the current process the level of
performance/energy consumption they wish from the highest
QosClass::UserInteractive to QosClass::Background.

Close GH-13945

show more ...


# c3acfb1b 10-Apr-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-13931: Applying zero offset to null pointer in Zend/zend_opcode.c

In the test cases, the compiler bails out due to a fatal error.
The data structures used by the compiler will con

Fix GH-13931: Applying zero offset to null pointer in Zend/zend_opcode.c

In the test cases, the compiler bails out due to a fatal error.
The data structures used by the compiler will contain stale values.
In particular, for the test case CG(loop_var_stack) will contain data.
The next compilation will incorrectly use elements from the previous
stack.
To solve this, we reset part of the compiler data structures.
We don't do a full re-initialization via init_compiler() because that will
also reset streams and resources.

Closes GH-13938.

show more ...


# 8421cfda 12-Apr-2024 Damian Wójcik

Fix file_get_contents() on Windows fails with "errno=22 Invalid argument"

Closes GH-13948


1...<<21222324252627282930>>...619