67318e91 | 11-Oct-2024 |
Ilija Tovilo |
Fix op2 caching for static properties op2.num may contain other flags, like ZEND_FETCH_CLASS_EXCEPTION. These currently circumvent caching. Once the property is cached, these flags have
Fix op2 caching for static properties op2.num may contain other flags, like ZEND_FETCH_CLASS_EXCEPTION. These currently circumvent caching. Once the property is cached, these flags have no influence on the result, so it doesn't seem like this was done on purpose. Closes GH-16380
show more ...
|
60562175 | 14-Oct-2024 |
Ilija Tovilo |
Split expression |
3074cbf5 | 14-Oct-2024 |
Ilija Tovilo |
Merge branch 'PHP-8.3' into PHP-8.4 * PHP-8.3: Skip shebang in cli-server router script
|
77f77087 | 14-Oct-2024 |
Ilija Tovilo |
Merge branch 'PHP-8.2' into PHP-8.3 * PHP-8.2: Skip shebang in cli-server router script
|
06efe44c | 13-Oct-2024 |
Ilija Tovilo |
Skip shebang in cli-server router script Fixes GH-16373 Closes GH-16403 |
35467330 | 14-Oct-2024 |
Ilija Tovilo |
Merge branch 'PHP-8.3' into PHP-8.4 * PHP-8.3: Fix array to string conversion warning emitted in optimizer
|
c5745f40 | 13-Oct-2024 |
Ilija Tovilo |
Fix array to string conversion warning emitted in optimizer Fixes GH-16408 Closes GH-16380 |
63c9d12a | 13-Oct-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Merge branch 'PHP-8.3' into PHP-8.4 * PHP-8.3: Fix GH-16409: Segfault in exif_thumbnail when not dealing with a real file
|
34e635f3 | 13-Oct-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Merge branch 'PHP-8.2' into PHP-8.3 * PHP-8.2: Fix GH-16409: Segfault in exif_thumbnail when not dealing with a real file
|
3843f0ec | 13-Oct-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-16409: Segfault in exif_thumbnail when not dealing with a real file Closes GH-16416. |
da4eab6c | 13-Oct-2024 |
Gina Peter Banyard |
[skip ci] Some more organisational fixes to UPGRADING Closes GH-16415 |
61d34b3e | 13-Oct-2024 |
David Carlier |
Merge branch 'PHP-8.3' into PHP-8.4
|
47c81462 | 13-Oct-2024 |
David Carlier |
Merge branch 'PHP-8.2' into PHP-8.3
|
d70b7811 | 12-Oct-2024 |
David Carlier |
ext/gmp: gmp_pow fix FPE with large values. even without sanitizers, it is reproducible but with the following ``` <?php $g = gmp_init(256); var_dump(gmp_pow($g, PHP_INT
ext/gmp: gmp_pow fix FPE with large values. even without sanitizers, it is reproducible but with the following ``` <?php $g = gmp_init(256); var_dump(gmp_pow($g, PHP_INT_MAX)); ``` we get this ``` AddressSanitizer:DEADLYSIGNAL ================================================================= ==286922==ERROR: AddressSanitizer: FPE on unknown address 0x03e8000460ca (pc 0x7faf6c69de5c bp 0x400000000000004 sp 0x7ffe9843c740 T0) #0 0x7faf6c69de5c in __pthread_kill_implementation nptl/pthread_kill.c:44 #1 0x7faf6c649c81 in __GI_raise ../sysdeps/posix/raise.c:26 #2 0x7faf6db9386c in __gmp_exception (/lib/x86_64-linux-gnu/libgmp.so.10+0xd86c) (BuildId: 1af68a49fe041a5bb48a2915c3d47541f713bb38) #3 0x7faf6db938d3 in __gmp_overflow_in_mpz (/lib/x86_64-linux-gnu/libgmp.so.10+0xd8d3) (BuildId: 1af68a49fe041a5bb48a2915c3d47541f713bb38) #4 0x7faf6dbac95c in __gmpz_realloc (/lib/x86_64-linux-gnu/libgmp.so.10+0x2695c) (BuildId: 1af68a49fe041a5bb48a2915c3d47541f713bb38) #5 0x7faf6dba9038 in __gmpz_n_pow_ui (/lib/x86_64-linux-gnu/libgmp.so.10+0x23038) (BuildId: 1af68a49fe041a5bb48a2915c3d47541f713bb38) #6 0x5565ae1ccd9f in zif_gmp_pow /home/dcarlier/Contribs/php-src/ext/gmp/gmp.c:1286 #7 0x5565aee96ea9 in ZEND_DO_ICALL_SPEC_RETVAL_USED_HANDLER /home/dcarlier/Contribs/php-src/Zend/zend_vm_execute.h:1312 #8 0x5565af144320 in execute_ex /home/dcarlier/Contribs/php-src/Zend/zend_vm_execute.h:56075 #9 0x5565af160f07 in zend_execute /home/dcarlier/Contribs/php-src/Zend/zend_vm_execute.h:60439 #10 0x5565aed6fafe in zend_execute_scripts /home/dcarlier/Contribs/php-src/Zend/zend.c:1842 #11 0x5565aeae70a8 in php_execute_script /home/dcarlier/Contribs/php-src/main/main.c:2578 #12 0x5565af532f4e in do_cli /home/dcarlier/Contribs/php-src/sapi/cli/php_cli.c:964 #13 0x5565af535877 in main /home/dcarlier/Contribs/php-src/sapi/cli/php_cli.c:1334 #14 0x7faf6c633d67 in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #15 0x7faf6c633e24 in __libc_start_main_impl ../csu/libc-start.c:360 #16 0x5565adc04040 in _start (/home/dcarlier/Contribs/php-src/sapi/cli/php+0x2604040) (BuildId: 949049955bdf8b7197390b1978a1dfc3ef6fdf38) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: FPE nptl/pthread_kill.c:44 in __pthread_kill_implementation ==286922==ABORTING ```
show more ...
|
4d008e30 | 13-Oct-2024 |
David Carlier |
Merge branch 'PHP-8.3' into PHP-8.4
|
f31232e2 | 13-Oct-2024 |
David Carlier |
Merge branch 'PHP-8.2' into PHP-8.3
|
84a8fea2 | 08-Oct-2024 |
David Carlier |
Fix GH-16290: session cookie_lifetime ini value overflow. close GH-16295 |
a7918a7a | 13-Oct-2024 |
Christoph M. Becker |
Merge branch 'PHP-8.3' into PHP-8.4 * PHP-8.3: Fix GH-16326: Memory management is broken for bad dictionaries
|
631c04e6 | 13-Oct-2024 |
Christoph M. Becker |
Merge branch 'PHP-8.2' into PHP-8.3 * PHP-8.2: Fix GH-16326: Memory management is broken for bad dictionaries
|
d94be24f | 10-Oct-2024 |
Christoph M. Becker |
Fix GH-16326: Memory management is broken for bad dictionaries We must not `efree()` `zend_string`s, since they may have a refcount greater than one, and may even be interned. W
Fix GH-16326: Memory management is broken for bad dictionaries We must not `efree()` `zend_string`s, since they may have a refcount greater than one, and may even be interned. We also must not confuse `zend_string *` with `zend_string **`. And we should play it safe by using `safe_emalloc()` to avoid theoretical integer overflows. We also simplify a bit, according to suggestions of @TimWolla. Closes GH-16335.
show more ...
|
b7e39970 | 13-Oct-2024 |
Ilija Tovilo |
Merge branch 'PHP-8.3' into PHP-8.4 * PHP-8.3: [skip ci] Mark some more macOS tests as flaky
|
5c8f42f0 | 13-Oct-2024 |
Ilija Tovilo |
Merge branch 'PHP-8.2' into PHP-8.3 * PHP-8.2: [skip ci] Mark some more macOS tests as flaky
|
b6ca8713 | 13-Oct-2024 |
Ilija Tovilo |
[skip ci] Mark some more macOS tests as flaky |
f108c167 | 12-Oct-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Merge branch 'PHP-8.3' into PHP-8.4 * PHP-8.3: Fix GH-16318: Recursive array segfaults soap encoding
|
6ff4a2d7 | 10-Oct-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-16318: Recursive array segfaults soap encoding This adds recursion protection to the array encoders. Closes GH-16347. |