mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-8.5'
* PHP-8.5: lexbor: Cherry pick "URL: fixed "heap-buffer-overflow" for scheme is "file"."
This commit is contained in:
@@ -1817,7 +1817,6 @@ again:
|
||||
if (override_state != LXB_URL_STATE__UNDEF
|
||||
&& url->scheme.type == LXB_URL_SCHEMEL_TYPE_FILE)
|
||||
{
|
||||
p -= 1;
|
||||
state = LXB_URL_STATE_FILE_HOST_STATE;
|
||||
goto again;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user