summaryrefslogtreecommitdiff
path: root/tests/libtest/lib1910.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-08-24 11:07:59 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-08-24 11:07:59 +0200
commit863095f2bcf25d2b0243ad5c67735c04deff4241 (patch)
tree79a510285513d9eb5fa0ad376b31da5bbe86c6f4 /tests/libtest/lib1910.c
parent98c94596f5928840177b6bd3c7b0f0dd03a431af (diff)
downloadcurl-bagder/timeout-overflow.tar.gz
Curl_pgrsTime - return new time to avoid timeout integer overflowbagder/timeout-overflow
Setting a timeout to INT_MAX could cause an immediate error to get returned as timeout because of an overflow when different values of 'now' were used. This is primarily fixed by having Curl_pgrsTime() return the "now" when TIMER_STARTSINGLE is set so that the parent function will continue using that time. Reported-by: IonuČ›-Francisc Oancea Fixes #5583
Diffstat (limited to 'tests/libtest/lib1910.c')
0 files changed, 0 insertions, 0 deletions