Skip to content

Commit ad129c6

Browse files
committed
Merge branch 'PHP-8.3' into PHP-8.4
* PHP-8.3: Remove incorrect call to zval_ptr_dtor() in user_wrapper_metadata()
2 parents d68fd73 + d10ff9b commit ad129c6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@ PHP NEWS
3939
- Standard:
4040
. Fixed bug GH-16649 (UAF during array_splice). (alexandre-daubois)
4141

42+
- Streams:
43+
. Remove incorrect call to zval_ptr_dtor() in user_wrapper_metadata().
44+
(nielsdos)
45+
4246
28 Aug 2025, PHP 8.4.12
4347

4448
- Core:

main/streams/userspace.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1222,7 +1222,6 @@ static int user_wrapper_metadata(php_stream_wrapper *wrapper, const char *url, i
12221222
break;
12231223
default:
12241224
php_error_docref(NULL, E_WARNING, "Unknown option %d for " USERSTREAM_METADATA, option);
1225-
zval_ptr_dtor(&args[2]);
12261225
return ret;
12271226
}
12281227

0 commit comments

Comments
 (0)