History log of /php-src/ (Results 101 – 125 of 114808)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
1bb4bd6515-Dec-2024 David Carlier

fix new pgsql test

9ba2667c15-Dec-2024 David Carlier

Merge branch 'PHP-8.4'


2309cac715-Dec-2024 David Carlier

Merge branch 'PHP-8.3' into PHP-8.4


0a3442fb15-Dec-2024 David Carlier

ext/pgsql fixing further calls with flexible arguments number.

continuation of GH-17161

close GH-17165

fe87ba4115-Dec-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Merge branch 'PHP-8.4'

* PHP-8.4:
Fix GH-17137: Segmentation fault ext/phar/phar.c


57eb399715-Dec-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Merge branch 'PHP-8.3' into PHP-8.4

* PHP-8.3:
Fix GH-17137: Segmentation fault ext/phar/phar.c


142f85e213-Dec-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-17137: Segmentation fault ext/phar/phar.c

Commit edae2431 attempted to fix a leak and double free, but didn't
properly understand what was going on, causing a reference count mist

Fix GH-17137: Segmentation fault ext/phar/phar.c

Commit edae2431 attempted to fix a leak and double free, but didn't
properly understand what was going on, causing a reference count mistake
and subsequent segfault in this case.

The first mistake of that commit is that the reference count should've
been increased because we're reusing a phar object. The error handling
path should've gotten changed instead to undo this refcount increase
instead of not refcounting at all (root cause of this bug).

The second mistake is that the alias isn't supposed to be transferred or
whatever, that just doesn't make sense. The reason the test
bug69958.phpt originally leaked is because in the non-reuse case we
borrowed the alias and otherwise we own the alias. If we own the alias
the alias information shouldn't get deleted anyway as that would desync
the alias map.

Fixing these will reveal a third issue in which the alias memory is not
always properly in sync with the persistence-ness of the phar, fix this
as well.

Closes GH-17150.

show more ...

1fd4771e15-Dec-2024 Christoph M. Becker

Merge branch 'PHP-8.4'

* PHP-8.4:
Don't run proc_open_cmd.phpt in parallel with other tests


fd25b79415-Dec-2024 Christoph M. Becker

Merge branch 'PHP-8.3' into PHP-8.4

* PHP-8.3:
Don't run proc_open_cmd.phpt in parallel with other tests


aafa6ea309-Dec-2024 Christoph M. Becker

Don't run proc_open_cmd.phpt in parallel with other tests

This test puts a fake cmd.exe in the CWD and removes it only after the
test has finished. We need to avoid that other tests are

Don't run proc_open_cmd.phpt in parallel with other tests

This test puts a fake cmd.exe in the CWD and removes it only after the
test has finished. We need to avoid that other tests are running while
that fake cmd.exe is there, because they may use it instead of the
proper cmd.exe.

We also unlink the fake cmd.exe as soon as possible, regardless of the
test result.

Fixes GH-17098.
Closes GH-17090.

show more ...

c14bc7b115-Dec-2024 Christoph M. Becker

Fail phpize early if config.w32 is missing (GH-17100)

On Windows, phpize happily builds configure even if there is no
config.w32, but running configure then error with "Must be run from

Fail phpize early if config.w32 is missing (GH-17100)

On Windows, phpize happily builds configure even if there is no
config.w32, but running configure then error with "Must be run from the
root of the extension source". This is confusing.

We bring phpize's behavior on par with POSIX systems, where the missing
config.m4 is detected and reported right away.

show more ...

1ff68f5815-Dec-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Merge branch 'PHP-8.4'

* PHP-8.4:
Fix GH-17153: SimpleXML crash when using autovivification on document


aea64c8915-Dec-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Merge branch 'PHP-8.3' into PHP-8.4

* PHP-8.3:
Fix GH-17153: SimpleXML crash when using autovivification on document


a57a434f14-Dec-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-17153: SimpleXML crash when using autovivification on document

In the case of a member string, `mynode` may also be a document, which
doesn't have a namespace.

Closes GH-

Fix GH-17153: SimpleXML crash when using autovivification on document

In the case of a member string, `mynode` may also be a document, which
doesn't have a namespace.

Closes GH-17156.

show more ...

57e9429e14-Dec-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Merge branch 'PHP-8.4'

* PHP-8.4:
Fix GH-17158: pg_fetch_result Shows Incorrect ArgumentCountError Message when Called With 1 Argument


e562b8cf14-Dec-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Merge branch 'PHP-8.3' into PHP-8.4

* PHP-8.3:
Fix GH-17158: pg_fetch_result Shows Incorrect ArgumentCountError Message when Called With 1 Argument


388f63c314-Dec-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-17158: pg_fetch_result Shows Incorrect ArgumentCountError Message when Called With 1 Argument

Closes GH-17161.

7bfd198814-Dec-2024 Jakub Zelenka

Merge branch 'PHP-8.4'


0cc0c7c714-Dec-2024 Jakub Zelenka

Merge branch 'PHP-8.3' into PHP-8.4


3490ac0c07-Sep-2024 Jakub Zelenka

Fix GH-13437: FPM: ERROR: scoreboard: failed to lock (already locked)

This changes locking for scoreboard to reduce contention between readers
and adds retries for acquiring scoreboard f

Fix GH-13437: FPM: ERROR: scoreboard: failed to lock (already locked)

This changes locking for scoreboard to reduce contention between readers
and adds retries for acquiring scoreboard for read.

Closes GH-15805

show more ...

c015242914-Dec-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Merge branch 'PHP-8.4'

* PHP-8.4:
Fix GH-17145: DOM memory leak


4656c22513-Dec-2024 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-17145: DOM memory leak

Because the use of RETURN instead of RETVAL, the freeing code could not
be executed. This only is triggerable if the content of the attribute is
mixed t

Fix GH-17145: DOM memory leak

Because the use of RETURN instead of RETVAL, the freeing code could not
be executed. This only is triggerable if the content of the attribute is
mixed text and entities, so it wasn't noticed earlier.

Closes GH-17147.

show more ...

bb6dbdcf13-Dec-2024 Christoph M. Becker

Fix curl_multi_exec() overflow message (GH-17078)

As is, passing `2147484` as `$timeout`, throws a `ValueError` stating
the `$timeout` needs to be between 0 and 2147484, what is a confus

Fix curl_multi_exec() overflow message (GH-17078)

As is, passing `2147484` as `$timeout`, throws a `ValueError` stating
the `$timeout` needs to be between 0 and 2147484, what is a confusing.
Thus we report the proper threshold as float.

While we're at it we also drop the superfluous `(double)` cast, and
rely on C's usual arithmetic conversions.

show more ...

a7cf072529-Nov-2024 Christoph M. Becker

Skip sapi_windows_set_ctrl_handler.phpt under ASan

For some reason, terminating the child process by sending CTRL+C won't
work under ASan instrumentation. Since termination via CTRL+BRE

Skip sapi_windows_set_ctrl_handler.phpt under ASan

For some reason, terminating the child process by sending CTRL+C won't
work under ASan instrumentation. Since termination via CTRL+BREAK
works, there is apparently nothing fundamentally wrong, so we just
skip the test.

Closes GH-17086.

show more ...

c630801a12-Dec-2024 Dmitry Stogov

Merge branch 'PHP-8.4'

* PHP-8.4:
Fix GH-15709: Crashing tests on Windows x64 (#17095)


12345678910>>...4593