diff options
author | Marc Hoersken <info@marc-hoersken.de> | 2020-05-27 17:24:21 +0200 |
---|---|---|
committer | Marc Hoersken <info@marc-hoersken.de> | 2020-05-30 10:21:23 +0200 |
commit | fc55c723c4ecebabf12c32caddd0f9bc9d169ed4 (patch) | |
tree | 59ff19e138f87698427861ca41bfe02b010dd3f5 /lib/version.c | |
parent | 4a8f459837e2b7dc146825fc9a864045f7d1ae4a (diff) |
select: add overflow checks for timeval conversions
Using time_t and suseconds_t if suseconds_t is available,
long on Windows (maybe others in the future) and int elsewhere.
Also handle case of ULONG_MAX being greater or equal to INFINITE.
Assisted-by: Jay Satiro
Reviewed-by: Daniel Stenberg
Part of #5343
Diffstat (limited to 'lib/version.c')
0 files changed, 0 insertions, 0 deletions