[INN] #137: Prevent overflows in timers

INN rra at stanford.edu
Sun Jul 12 15:18:59 UTC 2015


#137: Prevent overflows in timers
---------------------+-------------------
 Reporter:  iulius   |      Owner:  eagle
     Type:  defect   |     Status:  new
 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.

-- 
Ticket URL: <http://inn.eyrie.org/trac/ticket/137>
INN <http://www.eyrie.org/~eagle/software/inn/>
InterNetNews


More information about the inn-bugs mailing list