[PATCH]: NULL pointer check in timer_* functions
Fri Aug 12 00:41:00 GMT 2005
Khem Raj wrote:
\> I tracked it down to a problem inside timer_* functions. Currently we do
> not check for timerid for NULL value inside timer_delete()
> timer_settime() and timer_gettime() timer_getoverrun() functions.
> This patch adds the checks to these functions.
That's all bullshit. A zero timer ID is from the outside not different
than anything else. If you pass an incorrect value your application
will crash. Fix your own bugs instead of making the implementation
slower just because of your own inabilities.
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 251 bytes
Desc: OpenPGP digital signature
More information about the Libc-alpha