Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
SeldomSoup
· 11y ago · 0 comments
Interestingly, the author goes on to recommend
if(rc < 0) goto fail;
as a countermeasure for that breed of bug.
Comments
[–]
Gibbon1
11y ago
gcc won't catch that kind of bug, but clang will definitely. So yeah, use static analysis tools.