Module Name:    src
Committed By:   riastradh
Date:           Tue Jun 28 02:04:51 UTC 2022

Modified Files:
        src/sys/kern: subr_time.c

Log Message:
kern: Avoid arithmetic overflow in gettimeleft.

Sprinkle assertions in to verify we're monotonically counting the
time left down to zero.

Reported-by: syzbot+5f6a6329d139810df...@syzkaller.appspotmail.com


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/kern/subr_time.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Reply via email to