[PATCH]: NULL pointer check in timer_* functions

Roland McGrath roland@redhat.com
Fri Aug 12 01:29:00 GMT 2005


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.



More information about the Libc-alpha mailing list