1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Merge branch 'PHP-8.3' into PHP-8.4

* PHP-8.3:
  Remove incorrect call to zval_ptr_dtor() in user_wrapper_metadata()
This commit is contained in:
Niels Dossche
2025-09-04 23:13:45 +02:00
2 changed files with 4 additions and 1 deletions

4
NEWS
View File

@@ -39,6 +39,10 @@ PHP NEWS
- Standard:
. Fixed bug GH-16649 (UAF during array_splice). (alexandre-daubois)
- Streams:
. Remove incorrect call to zval_ptr_dtor() in user_wrapper_metadata().
(nielsdos)
28 Aug 2025, PHP 8.4.12
- Core:

View File

@@ -1222,7 +1222,6 @@ static int user_wrapper_metadata(php_stream_wrapper *wrapper, const char *url, i
break;
default:
php_error_docref(NULL, E_WARNING, "Unknown option %d for " USERSTREAM_METADATA, option);
zval_ptr_dtor(&args[2]);
return ret;
}