Change #282751
| Category | curl |
| Changed by | Daniel Stenberg <daniel@haxx.se> |
| Changed at | Tue 22 Sep 2026 23:21:58 |
| Repository | https://github.com/curl/curl.git |
| Project | curl |
| Branch | master |
| Revision | 6c11cd428d8dad2c3502965d7c28da9b5ac48697 |
Comments
cf-socket: clamp keepalive seconds-to-milliseconds conversions On platforms that require keepalive times in milliseconds (Windows before 10.0.16299, Solaris before 11.4, DragonFlyBSD before 500702), curl converts seconds to milliseconds and starting now it prevents that multiplication from doing an integer overflow. If too large value is set, INT_MAX millisconds is used. Reported-by: Joshua Rogers Closes #23045
Changed files
- lib/cf-socket.c