> > > On Fri, 18 Jun 2021 15:17:47 -0600, "Theo de Raadt" wrote: > > > > OK. How any pieces of code were found which do that?
In regress is some code
if ((int)alarm(10) == -1)
or
if (alarm(30) == (unsigned int)-1)
The man page alarm(3) says "If an error occurs, the value -1 is
returned". Such things could be written.
Should we avoid to return UINT_MAX in cases if there was no error?
Can that happen now?
Or should we just remove the error handling in regress?
bluhm
