History log of /php-src/ (Results 1 – 25 of 114805)
Revision (<<< Hide revision tags) (Show revision tags >>>)Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
bf5e6c5f22-Dec-2024 Kamil Tekiela

SplFileObject::fwrite $length param nullable (#17242)

f646905422-Dec-2024 Christoph M. Becker

Merge branch 'PHP-8.4'

* PHP-8.4:
Include relevant system headers before defining fallbacks


0285e9a822-Dec-2024 Christoph M. Becker

Merge branch 'PHP-8.3' into PHP-8.4

* PHP-8.3:
Include relevant system headers before defining fallbacks


fcbfd5a612-Dec-2024 Christoph M. Becker

Include relevant system headers before defining fallbacks

Otherwise we may define the fallbacks, and later inclusion of the
system headers may attempt to redefine those.

Fixes G

Include relevant system headers before defining fallbacks

Otherwise we may define the fallbacks, and later inclusion of the
system headers may attempt to redefine those.

Fixes GH-17112.
Closes GH-17129.

show more ...

0aeac68022-Dec-2024 Jakub Zelenka

Merge branch 'PHP-8.4'


c4c536da22-Dec-2024 Jakub Zelenka

Merge branch 'PHP-8.3' into PHP-8.4


e0b79cdc22-Dec-2024 Jakub Zelenka

Introduce FPM_TEST_DEBUG_FILTER env var and extend multi request tracing

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

Implement cache slot optimization for XMLReader (#17232)

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

Merge branch 'PHP-8.4'

* PHP-8.4:
Fix DOM test on higher branches


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

Fix DOM test on higher branches

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

Merge branch 'PHP-8.4'

* PHP-8.4:
Fix GH-17225: NULL deref in spl_directory.c


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

Merge branch 'PHP-8.3' into PHP-8.4

* PHP-8.3:
Fix GH-17225: NULL deref in spl_directory.c


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

Fix GH-17225: NULL deref in spl_directory.c

NULL checks for the glob stream are inconsistently applied. To solve
this generally, factor it out to a helper function so it's less likely

Fix GH-17225: NULL deref in spl_directory.c

NULL checks for the glob stream are inconsistently applied. To solve
this generally, factor it out to a helper function so it's less likely
to be forgotten in the future.

Closes GH-17231.

show more ...

b1220da421-Dec-2024 Shivam Mathur

ext/pdo_firebird: Fix label follow by declaration (#17229)

A label should be followed by a statement and not a declaration, else old gcc gives the following error: a label can only be part o

ext/pdo_firebird: Fix label follow by declaration (#17229)

A label should be followed by a statement and not a declaration, else old gcc gives the following error: a label can only be part of a statement and a declaration is not a statement

To fix this we wrap the code in the switch case block in braces.

show more ...

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

Merge branch 'PHP-8.4'

* PHP-8.4:
Fix GH-17224: UAF in importNode


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

Merge branch 'PHP-8.3' into PHP-8.4

* PHP-8.3:
Fix GH-17224: UAF in importNode


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

Fix GH-17224: UAF in importNode

Wrong document pointer is used for the namespace copy.

Closes GH-17230.

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

Merge branch 'PHP-8.4'

* PHP-8.4:
Fix GH-17216: Trampoline crash on error


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

Merge branch 'PHP-8.3' into PHP-8.4

* PHP-8.3:
Fix GH-17216: Trampoline crash on error


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

Fix GH-17216: Trampoline crash on error

The error handling is incomplete on argument cleanup.
1. The fci is not cleared which means that zend_free_trampoline() is
never called.

Fix GH-17216: Trampoline crash on error

The error handling is incomplete on argument cleanup.
1. The fci is not cleared which means that zend_free_trampoline() is
never called.
2. The cleaning for extra named arguments was missing, resulting in
memory leak.

Closes GH-17219.

show more ...

c4bb6e6c20-Dec-2024 David CARLIER

ext/sockets: further timeout handling changes. (#17210)

close GH-17210

420365d920-Dec-2024 Arnaud Le Blanc

Merge branch 'PHP-8.4'

* PHP-8.4:
Add observer temporary to dl'ed functions


32148e9b20-Dec-2024 Arnaud Le Blanc

Merge branch 'PHP-8.3' into PHP-8.4

* PHP-8.3:
Add observer temporary to dl'ed functions


9e7932b220-Dec-2024 Arnaud Le Blanc

Merge branch 'PHP-8.2' into PHP-8.3

* PHP-8.2:
Add observer temporary to dl'ed functions


6f57993419-Dec-2024 Arnaud Le Blanc

Add observer temporary to dl'ed functions

When observer is enabled, we normally add an extra temporary to all
functions, to store the previously observed frame. However, this is done in

Add observer temporary to dl'ed functions

When observer is enabled, we normally add an extra temporary to all
functions, to store the previously observed frame. However, this is done in
zend_observer_post_startup() so it doesn't happen to dl'ed() functions.

One possible fix would be to move that from zend_observer_post_startup()
to zend_register_functions(), but this would be too early: Observer may
not be enabled when zend_register_functions() is called, and may still be
enabled later.

However, when zend_register_functions() is called at run-time (during dl()),
we know definitively whether observer is enabled.

Here I update zend_register_functions() to add a temporary to dl'ed()
functions when observer is enabled.

Fixes: GH-17211
Closes: GH-17220

show more ...

12345678910>>...4593