diff options
| author | Jochen Neumeister <joneum@FreeBSD.org> | 2026-08-12 22:14:16 +0000 |
|---|---|---|
| committer | Jochen Neumeister <joneum@FreeBSD.org> | 2026-08-12 22:14:16 +0000 |
| commit | 01b66129397537ff42403460f791b10e75ea9691 (patch) | |
| tree | fce38375345ca0ddfc7f4d4f6d3384280f655007 /net-mgmt/darkstat | |
| parent | 3ae3b9746ae45d9e216a02398d76fd7283ec134b (diff) | |
When a timer is scheduled far enough in the future,
tvalp->tv_sec * 1000 overflows the int millisecond value that
poll_event_loop_poll() passes to poll(2). poll(2) then fails with
EINVAL and tevent spins in a busy-loop instead of sleeping. Clamp
the computed timeout to INT_MAX in that case.
PR: 297401
Approved by: 0mp (samba)
Sponsored by: Netzkommune GmbH
Diffstat (limited to 'net-mgmt/darkstat')
0 files changed, 0 insertions, 0 deletions
