aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/darkstat
diff options
context:
space:
mode:
authorJochen Neumeister <joneum@FreeBSD.org>2026-08-12 22:14:16 +0000
committerJochen Neumeister <joneum@FreeBSD.org>2026-08-12 22:14:16 +0000
commit01b66129397537ff42403460f791b10e75ea9691 (patch)
treefce38375345ca0ddfc7f4d4f6d3384280f655007 /net-mgmt/darkstat
parent3ae3b9746ae45d9e216a02398d76fd7283ec134b (diff)
devel/tevent: clamp far-future poll(2) timeout to avoid a busy-loopHEADmain
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