mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Remove incorrect call to zval_ptr_dtor() in user_wrapper_metadata()
This one is not initialized. This is not hittable from userspace code because all locations within first-party php-src code have a valid `option` argument. Closes GH-19714.
This commit is contained in:
4
NEWS
4
NEWS
@@ -36,6 +36,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)
|
||||
|
||||
- Tidy:
|
||||
. Fixed GH-19021 build issue with libtidy in regard of tidyOptIsReadonly
|
||||
deprecation and TidyInternalCategory being available later than
|
||||
|
||||
@@ -1223,7 +1223,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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user