Closed
Description
Description
In this code line, the timeout is casted to unsigned long
:
Line 190 in f952263
But the function expects a signed int
, see https://curl.se/libcurl/c/curl_multi_wait.html
In consequence, passing a large timeout to the PHP function curl_multi_select
causes undefined behavior according to the C standard. Usually it would it cause 100% CPU usage.
PHP Version
PHP 8.3.10
Operating System
No response