summaryrefslogtreecommitdiff
path: root/sapi/cli/php_http_parser.c
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-05-31 13:28:09 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2020-06-01 13:22:44 +0200
commit923c45bdcaebf317ce84a4bfb3fa39beae1bf952 (patch)
treeecc9d93fe372157ea63b2756aa29f1ae0457745b /sapi/cli/php_http_parser.c
parent744f9016c44d26c2c3f23f4fb24276d6e46eaa58 (diff)
downloadphp-git-923c45bdcaebf317ce84a4bfb3fa39beae1bf952.tar.gz
Fix #79650: php-win.exe 100% cpu lockup
As of PHP 7.3.0, `sapi_cli_single_write()` is supposed to return `< 0` on failure, but `fwrite()` returns a `size_t`, and signals error by setting the stream's error indicator. We have to cater to that.
Diffstat (limited to 'sapi/cli/php_http_parser.c')
0 files changed, 0 insertions, 0 deletions