News for hackers. Stuff that matters.
Re:Tell HN: C Experts Panel – Ask us anything about C by eqvinox on Tuesday April 14, 2020 @10:54AM (#22866752)
Cleanup on function return is not enough, it needs to be scope exit. We're using this for privilege raising/dropping (example posted above) and also mutex acquisition/release. Both of these really "want" it on the scope level.

There are no comments on this comment yet.