There are some tricks practicing C++ programmers do know like "Scope Guard" and maybe others involving references to temporaries.
I'm not a practicing C++ programmer, but I'd like to ask (of curiosity) if there is a way third party library could harm the callers' stack somehow. Maybe involving sudden destructors or some kind of other scoped lifetime magic?