4 ms·
Interestingly, the author goes on to recommend if(rc < 0) goto fail; as a countermeasure for that breed of bug.
by SeldomSoup 11y ago
Interestingly, the author goes on to recommend
if(rc < 0) goto fail;
as a countermeasure for that breed of bug.
- Gibbon1 11y agogcc won't catch that kind of bug, but clang will definitely. So yeah, use static analysis tools.