On Fri, May 11, 2018 at 05:54:17PM -0500, Scott Cheloha wrote:
> Hi,
>
> This fixes timeout input validation for kevent(2) and nanosleep(2).
>
> nanosleep() and kqueue_scan() (callee of kevent()) both convert the
> incoming timespec to a timeval with TIMESPEC_TO_TIMEVAL *before*
> validating the
Hi,
This fixes timeout input validation for kevent(2) and nanosleep(2).
nanosleep() and kqueue_scan() (callee of kevent()) both convert the
incoming timespec to a timeval with TIMESPEC_TO_TIMEVAL *before*
validating the timeout. This hides invalid tv_nsec values on
[-999, 0) and (10, 100