History log of /PHP-8.1/ (Results 226 – 250 of 105955)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
b5f8a72731-Jul-2023 Dmitry Stogov

Fixed incorrect QM_ASSIGN elimination

Fixes OSS Fuzz #60895

6b6a5cd226-Jul-2023 Ilija Tovilo

Replace xfail with skipif in calendar_clear_variation1.phpt

Fixes GH-11128
Closes GH-11801

bed0e54126-Jul-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix DOM test

bf4e7bd325-Jul-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-11791: Wrong default value of DOMDocument::xmlStandalone

At one point this was changed from a bool to an int in libxml2, with
negative values meaning it is unspecified. Because it

Fix GH-11791: Wrong default value of DOMDocument::xmlStandalone

At one point this was changed from a bool to an int in libxml2, with
negative values meaning it is unspecified. Because it is cast to a bool
this therefore returned true instead of the expected false.

Closes GH-11793.

show more ...

abb1d2e822-Jul-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix empty argument cases for DOMParentNode methods

Closes GH-11768.

1cf2d21622-Jul-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix DOMCharacterData::replaceWith() with itself

Previously, when replacing the node with itself (or contained within
itself), the node disappeared.

Closes GH-11770.

168bc81423-Jul-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix incorrect attribute existence check in DOMElement::setAttributeNodeNS()

Closes GH-11776.

d439ee1823-Jul-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix DOMEntity field getter bugs

- publicId could crash PHP if none was provided
- notationName never worked

The fields of this classs were untested. This new test file changes t

Fix DOMEntity field getter bugs

- publicId could crash PHP if none was provided
- notationName never worked

The fields of this classs were untested. This new test file changes that.

Closes GH-11779.

show more ...

9fc0eab424-Jul-2023 Dmitry Stogov

Fixed incorrect QM_ASSIGN elimination

Fixes OSS Fuzz #60735

af77d3b821-Jul-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-11716: cli server crashes on SIGINT when compiled with ZEND_RC_DEBUG=1

Closes GH-11757.

429f20e916-Jul-2023 Marc Bennewitz

Prevent int overflow on $decimals in number_format

Closes GH-11714.
Closes GH-11649.

ee3f932317-Jul-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-11715: opcache.interned_strings_buffer either has no effect or opcache_get_status() / phpinfo() is wrong

There are a couple of oddities.

1) The interned strings buffer compri

Fix GH-11715: opcache.interned_strings_buffer either has no effect or opcache_get_status() / phpinfo() is wrong

There are a couple of oddities.

1) The interned strings buffer comprises the whole hashtable
datastructure.
Therefore, it seems that the interned strings buffer size is the size of
only said table. However, in the current code it also includes the size
of the zend_accel_shared_globals.

2) ZCSG(interned_strings).end is computed starting from the accelerator
globals struct itself. I would expect it to start from the part where
the interned strings table starts.

3) When computing the used size, it is done using
ZCSG(interned_strings).end - ZCSG(interned_strings).start. However,
this does not include the uin32_t slots array because
ZCSG(interned_strings).start pointers after that array.

This patch corrrects these 3 points.

Closes GH-11717.

show more ...

11d6bea920-Jul-2023 Ilija Tovilo

Fix leaking definitions on FFI::cdef()->new()

Previously, FFI_G(symbols) and FFI_G(tags) were never cleaned up when calling
new on an existing object. However, if cdef() is called withou

Fix leaking definitions on FFI::cdef()->new()

Previously, FFI_G(symbols) and FFI_G(tags) were never cleaned up when calling
new on an existing object. However, if cdef() is called without parameters these
globals are NULL and might be created when new() creates new definitions. These
would then be discarded without freeing them.

Closes GH-11751

show more ...

6e3c520f18-Jul-2023 Ben Ramsey

PHP-8.1 is now for PHP-8.1.23-dev

7cae6eb817-Jul-2023 Ilija Tovilo

Fix hash_pbkdf2 options parameter

The value needs to be initialized to NULL as it is optional. Furthermore, the
parameter was completely missing in the stub signature.

Closes GH

Fix hash_pbkdf2 options parameter

The value needs to be initialized to NULL as it is optional. Furthermore, the
parameter was completely missing in the stub signature.

Closes GH-11731

show more ...

b0bc057e17-Jul-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Prevent potential deadlock if accelerated globals cannot be allocated

Not sure if this is possible to hit in practice, zend_accel_error_noreturn
doesn't return so the unlock isn't called

Prevent potential deadlock if accelerated globals cannot be allocated

Not sure if this is possible to hit in practice, zend_accel_error_noreturn
doesn't return so the unlock isn't called. Other callsites that use both
zend_accel_error_noreturn and zend_shared_alloc_unlock first perform the
unlocking.

Closes GH-11718.

show more ...

e0aadc1c07-Jul-2023 SakiTakamachi

Fix GH-11587 PDO::ATTR_STRINGIFY_FETCHES should return strings even in if PDO::ATTR_EMULATE_PREPARES is enabled

This also includes a fix for the MySQL ND driver to actually respect the user

Fix GH-11587 PDO::ATTR_STRINGIFY_FETCHES should return strings even in if PDO::ATTR_EMULATE_PREPARES is enabled

This also includes a fix for the MySQL ND driver to actually respect the user decided behaviour.

Closes GH-11622

Signed-off-by: George Peter Banyard <girgias@php.net>

show more ...

5c26258e13-Jul-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Handle fragments consisting out of multiple children without a single root correctly

Closes GH-11698.

69b4360e09-Jul-2023 David Carlier

zend_gdb disable gdb detection for FreeBSD < 11.

ref PR: https://github.com/php/php-src/pull/11599.

Close GH-11646

536dbd7410-Jul-2023 George Peter Banyard

ext/intl: Fix memory leak in MessageFormatter::format()

Closes GH-11658

b1b7c61a12-Jul-2023 Ilija Tovilo

Always memoize assert

Closes GH-11686

48b246e011-Jul-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Add regression test for GH-11682

This bug was already fixed via 15ff830, but we really need more
test coverage.

Co-authored-by: Arne Blankerts <arne@blankerts.de>

bc42179111-Jul-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-10914: OPCache with Enum and Callback functions results in segmentation fault

See linked issue for analysis.

Closes GH-11675.

6b87e08b10-Jul-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix tests for stat rdev

If HAVE_STRUCT_STAT_ST_RDEV is not set, rdev will be -1. %d only matches
a natural number, we should let it match negative numbers too.

41a3573f05-Jul-2023 Peter Kokot

Fix GH-9483: Autoconf warnings for newer Autoconf versions

Co-authored-by: Levi Morrison <morrison.levi@gmail.com>

12345678910>>...4239