CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2016/07/13 20:46:11

Modified files:
        sys/kern       : Tag: OPENBSD_5_8 kern_sig.c kern_synch.c 
                         kern_tc.c kern_timeout.c 

Log message:
backport timeout overflow fixes:
fix several places where calculating ticks could overflow.
it's not enough to assign to an unsigned type because if the arithmetic
overflows the compiler may decide to do anything. so change all the
long long casts to uint64_t so that we start with the right type.
reported by Tim Newsham of NCC.
ok deraadt

Reply via email to