News for hackers. Stuff that matters.
Re:C Programming Guidelines by SeldomSoup on Tuesday September 01, 2015 @10:45PM (#10157155)
Interestingly, the author goes on to recommend

  if(rc < 0) goto fail;
as a countermeasure for that breed of bug.
Re:C Programming Guidelines by Gibbon1 on Wednesday September 02, 2015 @12:44AM (#10157476)
gcc won't catch that kind of bug, but clang will definitely. So yeah, use static analysis tools.