]> granicus.if.org Git - curl/commit
setopt: less *or equal* than INT_MAX/1000 should be fine
authorDaniel Stenberg <daniel@haxx.se>
Mon, 11 Dec 2017 14:24:42 +0000 (15:24 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 12 Dec 2017 07:02:17 +0000 (08:02 +0100)
commit9d7a59c8fa3faa98bc7e368baacc5756eea227e9
treeeb7c0d4b54be5777a78614b275e4e06cb12054bc
parent2437dbbf12a2ec744e27823065cd09cf7ad6847e
setopt: less *or equal* than INT_MAX/1000 should be fine

... for the CURLOPT_TIMEOUT, CURLOPT_CONNECTTIMEOUT and
CURLOPT_SERVER_RESPONSE_TIMEOUT range checks.

Reported-by: Dominik Hölzl
Bug: https://curl.haxx.se/mail/lib-2017-12/0037.html

Closes #2173
lib/setopt.c