mirror of
https://github.com/php/php-src.git
synced 2026-04-23 16:08:35 +02:00
Fix bug #79329 - get_headers should not accept \0
This commit is contained in:
+1
-1
@@ -667,7 +667,7 @@ PHP_FUNCTION(get_headers)
|
||||
php_stream_context *context;
|
||||
|
||||
ZEND_PARSE_PARAMETERS_START(1, 3)
|
||||
Z_PARAM_STRING(url, url_len)
|
||||
Z_PARAM_PATH(url, url_len)
|
||||
Z_PARAM_OPTIONAL
|
||||
Z_PARAM_LONG(format)
|
||||
Z_PARAM_RESOURCE_EX(zcontext, 1, 0)
|
||||
|
||||
Reference in New Issue
Block a user