The timer API: size or type safety?
Posted Dec 8, 2006 15:57 UTC (Fri) by iabervon
In reply to: The timer API: size or type safety?
Parent article: The timer API: size or type safety?
Oh, the error paths get terrible coverage. This particular case, however, is looking up the data required for a timer callback. If the timer fires at all, it is almost certain to trigger any bug of this form immediately, because it's standardly unconditional at the beginning of the callback. If this isn't getting tested, a bug is more likely to be that the function does something totally wrong (since it wasn't tested at all) than that the type of the argument is wrong.
to post comments)