[PATCH]: NULL pointer check in timer_* functions

Khem Raj kraj@mvista.com
Fri Aug 12 17:37:00 GMT 2005



Roland McGrath wrote:

>That test is indeed incorrect.  It relies on getting EINVAL when passing an
>invalid (deleted) timer_t to timer_settime.  POSIX does not require
>diagnosing this error (it's a "may fail").  The test invokes undefined
>behavior.
>  
>
Thanks Roland for your explanation.



More information about the Libc-alpha mailing list