Mark Johnston 8b3c4231ab posix timers: Check for overflow when converting to ns
Disallow a time or timer period value when the conversion to nanoseconds
would overflow.  Otherwise it is possible to trigger a divison by zero
in realtime_expire_l(), where we compute the number of overruns by
dividing by the timer interval.

Fixes:	7995dae9 ("posix timers: Improve the overrun calculation")
Reported by:	syzbot+5ab360bd3d3e3c5a6e0e@syzkaller.appspotmail.com
Reported by:	syzbot+157b74ff493140d86eac@syzkaller.appspotmail.com
Reviewed by:	kib
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D30233
2021-05-13 08:34:03 -04:00
..
2020-02-26 16:22:28 +00:00
2021-01-02 19:57:58 -07:00
2020-10-05 15:54:19 +00:00
2020-11-19 02:50:48 +00:00
2021-04-13 17:42:21 -04:00
2021-04-18 11:14:17 -06:00
2020-12-04 18:56:44 +00:00
2021-04-18 11:19:15 -06:00
2021-04-12 11:42:21 -03:00
2021-05-03 19:18:26 +03:00
2021-04-18 11:14:17 -06:00
2021-05-05 12:32:13 -06:00
2021-05-03 19:13:47 +03:00
2021-04-21 15:37:24 -06:00
2020-11-05 15:08:56 +00:00
2018-10-12 00:32:45 +00:00
2020-11-09 00:34:23 +00:00
2020-08-13 20:48:14 +00:00
2021-04-02 15:41:51 +03:00
2019-02-20 09:38:19 +00:00
2021-05-03 19:13:47 +03:00
2020-12-01 16:06:31 +00:00
2021-04-07 14:33:02 -04:00
2020-01-12 23:52:16 +00:00
2021-05-03 19:18:26 +03:00
2021-04-18 11:14:17 -06:00
2020-08-27 05:11:15 +00:00
2021-04-15 12:48:24 +03:00
2021-04-13 17:42:20 -04:00
2021-04-18 11:19:15 -06:00
2021-04-18 11:19:15 -06:00