curl: cap the maximum allowed values for retry time arguments
... to avoid integer overflows later when multiplying with 1000 to convert seconds to milliseconds. Added test 1269 to verify. Reported-by: Jason Lee
Showing
- src/tool_getparam.c 2 additions, 2 deletionssrc/tool_getparam.c
- src/tool_paramhlp.c 22 additions, 0 deletionssrc/tool_paramhlp.c
- src/tool_paramhlp.h 2 additions, 1 deletionsrc/tool_paramhlp.h
- tests/data/Makefile.inc 1 addition, 1 deletiontests/data/Makefile.inc
- tests/data/test1269 34 additions, 0 deletionstests/data/test1269
tests/data/test1269
0 → 100644
Please register or sign in to comment