mirror of
https://github.com/php/php-src.git
synced 2024-09-27 12:57:26 +00:00
fix segfault
This commit is contained in:
parent
b40d754d99
commit
18ce5138f3
@ -1293,7 +1293,8 @@ PHP_FUNCTION(curl_version)
|
|||||||
array_init(protocol_list);
|
array_init(protocol_list);
|
||||||
|
|
||||||
while (*p != NULL) {
|
while (*p != NULL) {
|
||||||
add_next_index_ascii_string(protocol_list, *p++, 1);
|
add_next_index_ascii_string(protocol_list, *p, 1);
|
||||||
|
p++;
|
||||||
}
|
}
|
||||||
CAAZ("protocols", protocol_list);
|
CAAZ("protocols", protocol_list);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user