File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ PHP NEWS
1010 . The report_memleaks INI directive has been deprecated. (alexandre-daubois)
1111 . Constant redeclaration is deprecated and this behavior will trigger an
1212 error in PHP 9. (alexandre-daubois)
13+ . Fixed OSS-Fuzz #439125710 (Pipe cannot be used in write context).
14+ (nielsdos)
1315
1416- ODBC:
1517 . Remove ODBCVER and assume ODBC 3.5. (Calvin Buckley)
Original file line number Diff line number Diff line change 1+ --TEST--
2+ OSS-Fuzz #439125710 (Pipe cannot be used in write context)
3+ --FILE--
4+ <?php
5+ list (y|>y)=y;
6+ ?>
7+ --EXPECTF--
8+ Fatal error: Can't use function return value in write context in %s on line %d
Original file line number Diff line number Diff line change @@ -3365,7 +3365,7 @@ static void zend_compile_list_assign(
33653365
33663366static void zend_ensure_writable_variable (const zend_ast * ast ) /* {{{ */
33673367{
3368- if (ast -> kind == ZEND_AST_CALL ) {
3368+ if (ast -> kind == ZEND_AST_CALL || ast -> kind == ZEND_AST_PIPE ) {
33693369 zend_error_noreturn (E_COMPILE_ERROR , "Can't use function return value in write context" );
33703370 }
33713371 if (
You can’t perform that action at this time.
0 commit comments