> * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
> `timeout' values.
> Return EINVAL for `nfds' values either negative or greater than
> FD_SETSIZE.
In a log entry, write a local variable name as FOO rather than `foo'.
> + to = timeout->tv_sec * 1000 +
Hi,
attached there is a patch to add some validation for parameters of
_hurd_select().
Thanks,
--
Pino Toscano
_hurd_select: check for invalid parameter values
Check for invalid values of the `timeout' and `nfds' parameters; move the
calculation of `to' right after the validation of `timeout'.