]> git.ipfire.org Git - thirdparty/curl.git/commit
select: make Curl_socket_check take timediff_t timeout
authorDaniel Stenberg <daniel@haxx.se>
Wed, 15 Apr 2020 08:27:20 +0000 (10:27 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 23 Apr 2020 13:57:23 +0000 (15:57 +0200)
commita96c7529eb31498a464910935a7d1a5e88ce3914
treefbdbc3fbdcd5eb701cdd7946e93edaa46d48cf77
parentb1b96926148758c6a8de0898269c11b0e555ed66
select: make Curl_socket_check take timediff_t timeout

Coverity found CID 1461718:

Integer handling issues (CONSTANT_EXPRESSION_RESULT) "timeout_ms >
9223372036854775807L" is always false regardless of the values of its
operands. This occurs as the logical second operand of "||".

Closes #5240
lib/gopher.c
lib/select.c
lib/select.h
lib/socks.c
lib/vtls/schannel.c