1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 10:16:41 +02:00
Commit Graph

17924 Commits

Author SHA1 Message Date
Kévin Dunglas cd572ae759 Set SA_ONSTACK in zend_sigaction (#9597) 2022-09-26 23:02:56 +02:00
Dmitry Stogov e6831dbd82 Merge branch 'PHP-8.2'
* PHP-8.2:
  Fixed type inference
2022-09-26 12:20:45 +03:00
Dmitry Stogov 94b8c2da9f Fixed type inference
Fixes oss-fuzz #51640
2022-09-26 12:19:12 +03:00
Dmitry Stogov 90db4c741e Merge branch 'PHP-8.2'
* PHP-8.2:
  Fix memory leak
2022-09-26 11:47:41 +03:00
Dmitry Stogov 5ad8b3bcfa Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Fix memory leak
2022-09-26 11:47:32 +03:00
Dmitry Stogov b20568d4fa Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Fix memory leak
2022-09-26 11:44:38 +03:00
Dmitry Stogov 8258b7731b Fix memory leak
Fixes oss-fuzz #51622
2022-09-26 11:43:38 +03:00
Patrick Allaert 49499c512e Merge branch 'PHP-8.2' 2022-09-22 13:17:17 +02:00
Patrick Allaert 18cd80c327 Fixed undefined macros warnings 2022-09-22 13:17:02 +02:00
Dmitry Stogov 4d5c6ca32d Merge branch 'PHP-8.2'
* PHP-8.2:
  Fix SSA construction and type inference
2022-09-19 15:46:08 +03:00
Dmitry Stogov 7496a400aa Fix SSA construction and type inference
Fixes oss-fuzz #51476
2022-09-19 15:45:34 +03:00
Dmitry Stogov 31dca2ecec Merge branch 'PHP-8.2'
* PHP-8.2:
  Fixed warning
2022-09-19 13:13:04 +03:00
Dmitry Stogov 33918f999d Fixed warning 2022-09-19 13:12:49 +03:00
Dmitry Stogov 7fdf896d4b Merge branch 'PHP-8.2'
* PHP-8.2:
  Fix memory leak
2022-09-19 13:04:18 +03:00
Dmitry Stogov c0d49b7c7d Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Fix memory leak
2022-09-19 13:04:09 +03:00
Dmitry Stogov 8a1f7fa721 Fix memory leak
Fixes oss-fuzz #51451
2022-09-19 13:03:24 +03:00
Ilija Tovilo 80d99a6a45 Merge branch 'PHP-8.2'
* PHP-8.2:
  Fix UB pointer arithmetics on NULL
2022-09-16 18:25:33 +02:00
Ilija Tovilo fe0eaf107a Fix UB pointer arithmetics on NULL
Closes GH-9559
2022-09-16 18:24:39 +02:00
Ilija Tovilo 743d3780c6 Add clang ASAN/UBSAN push job
Closes GH-9507
2022-09-14 23:55:46 +02:00
Ilija Tovilo ed202b2a50 Merge branch 'PHP-8.2'
* PHP-8.2:
  Don't throw CompileError after parsing
2022-09-14 23:06:05 +02:00
Ilija Tovilo 7e860eaef0 Don't throw CompileError after parsing
Aborting parsing is not safe, a fatal error is necessary.

See https://github.com/php/php-src/commit/b9f7123c5e4ccdc3c381ab949ff01e3c14f3465c
2022-09-14 23:05:41 +02:00
Bob Weinand 5a0b68bed7 Revert "Store default object handlers alongside the class entry"
This reverts commit 9e6eab3c13.

Reverted along a01dd9feda.
2022-09-14 11:18:14 +02:00
Bob Weinand a01dd9feda Revert "Port all internally used classes to use default_object_handlers"
This reverts commit 94ee4f9834.

The commit was a bit too late to be included in PHP 8.2 RC1. Given it's a massive ABI break, we decide to postpone the change to PHP 8.3.
2022-09-14 11:13:23 +02:00
Sara Golemon 559da529a0 Bump for 8.0.25 2022-09-13 23:46:26 +00:00
Patrick Allaert 0f575aa698 PHP-8.1 is now for PHP 8.1.12-dev 2022-09-13 23:09:47 +02:00
George Peter Banyard 7715e3a2c9 Merge branch 'PHP-8.2' 2022-09-13 11:14:08 +01:00
George Peter Banyard 5bfceae770 Only check classes in intersection type if the type might be valid
Closes GH-9522
2022-09-13 11:10:32 +01:00
Ilija Tovilo eb22f1a31a Merge branch 'PHP-8.2'
* PHP-8.2:
  Fix ZEND_RC_MOD_CHECK() for thread local ini parser strings
2022-09-12 23:33:16 +02:00
Ilija Tovilo 09aa27cc09 Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Fix ZEND_RC_MOD_CHECK() for thread local ini parser strings
2022-09-12 23:33:03 +02:00
Ilija Tovilo 9af98cd465 Fix ZEND_RC_MOD_CHECK() for thread local ini parser strings 2022-09-12 23:31:26 +02:00
Ilija Tovilo 0771ef8b85 Merge branch 'PHP-8.2'
* PHP-8.2:
  Fix syntax error when dnf type in parens after readonly
2022-09-11 12:30:25 +02:00
Ilija Tovilo 08b7539583 Fix syntax error when dnf type in parens after readonly
Fixes GH-9500
Closes GH-9512
2022-09-11 12:29:29 +02:00
George Peter Banyard 59b9b451bb Merge branch 'PHP-8.2' 2022-09-10 13:28:01 +01:00
George Peter Banyard 6c4d24e4f0 Update cache slot size calculation in compact_literals.c 2022-09-10 13:20:59 +01:00
George Peter Banyard fbbada1f81 Merge branch 'PHP-8.2' 2022-09-10 11:41:25 +01:00
George Peter Banyard c70a8281e3 Use DNF intersection type check also for simple intersection types 2022-09-10 11:39:22 +01:00
George Peter Banyard 9286101da4 Fix GH-9516: (A&B)|D as a param should allow AB or D. Not just A.
The issue was that we didn't compute enough cache slots for DNF types.
Nor progressed throught the CE's in the cache slot, meaning we were only checking if the value passed
satisfied the first type of the nested intersection type.
2022-09-10 11:34:32 +01:00
George Peter Banyard 80315edd58 Introduce PROGRESS_CACHE_SLOT() macro 2022-09-10 11:34:11 +01:00
Ilija Tovilo 4842edeae4 Improve magic __get and property type inconsistency error message
Fixes GH-9388
Closes GH-9436
2022-09-08 11:07:29 +02:00
Ilija Tovilo e17a7ac54b Merge branch 'PHP-8.2'
* PHP-8.2:
  Fix lsp error in eval'd code referring to incorrect class for static type
2022-09-08 10:54:18 +02:00
Ilija Tovilo 580c29e1a2 Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Fix lsp error in eval'd code referring to incorrect class for static type
2022-09-08 10:54:02 +02:00
Ilija Tovilo 15ee9d2686 Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Fix lsp error in eval'd code referring to incorrect class for static type
2022-09-08 10:53:45 +02:00
Ilija Tovilo d5373eac46 Fix lsp error in eval'd code referring to incorrect class for static type
Fixes GH-9407
Closes GH-9471
2022-09-08 10:52:27 +02:00
Ilija Tovilo ecc3fc180f Use PDEATHSIG to kill cli-server workers if parent exists
Closes GH-9476
2022-09-08 10:48:20 +02:00
George Peter Banyard 163c0b5f4c Merge branch 'PHP-8.2' 2022-09-06 10:42:34 +01:00
George Peter Banyard 3e362f51ac Add zend_string INI validators
Currently we only have validators for char* which is rather annoying as INI settings are saved as zend_string* in the first place

Closes GH-9328
2022-09-06 10:41:47 +01:00
Dmitry Stogov 94e27baf99 Merge branch 'PHP-8.2'
* PHP-8.2:
  Fix type inference
2022-09-05 13:01:12 +03:00
Dmitry Stogov c151e9b75b Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Fix type inference
2022-09-05 13:01:04 +03:00
Dmitry Stogov c852e0fff9 Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0:
  Fix type inference
2022-09-05 12:56:34 +03:00
Máté Kocsis e2bdf4dc6c Merge branch 'PHP-8.2'
* PHP-8.2:
  Regenerate optimizer func info after preprocessor condition changes
2022-09-02 17:19:08 +02:00