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
@bagder
Member

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

This comment has been minimized.

Show comment Hide comment
@dhoelzl

dhoelzl Dec 12, 2017

Thank you for fixing this!

dhoelzl commented Dec 12, 2017

Thank you for fixing this!

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

@lock lock bot locked as resolved and limited conversation to collaborators May 9, 2018

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