Opened 8 years ago

#137 new defect

Prevent overflows in timers

Reported by: Julien ÉLIE Owned by: eagle
Priority: low Milestone:
Component: general Version: 2.5.4
Severity: minor Keywords:


Richard Kettlewell reports that overflows may occur in the way timers are currently computed.

  • OVERartcheck and OVERtime in nnrpd code
  • statistics->busy and total in backends/overchan.c
  • STATUSgettime() in innd/status.c
  • a few other uses of timeval on 32-bit platforms

Perhaps the best approach is to use 64-bit types throughout.

Change History (0)

Note: See TracTickets for help on using tickets.