setopt: less *or equal* than INT_MAX/1000 should be fine #2173

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Owner

bagder commented Dec 11, 2017

... 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

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

@bagder bagder closed this in 9d7a59c Dec 12, 2017

dhoelzl commented Dec 12, 2017

Thank you for fixing this!

@bagder bagder deleted the bagder/setopt-int_max-div1000 branch Jan 15, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment