CATCHING EXCEPTIONS


Please sign in to view the rest of this entry.

CATCHING EXCEPTIONS
1011404CATCHING EXCEPTIONS
<anchor role="natural" id="p2001b4bf9980158"></anchor><emphasis role="bold">OVERVIEW OF THE SIN</emphasis> Exception handling is an often misused feature of programming languages and operating systems. Basically, if something’s gone wrong, and you don’t know exactly how to correct it, then the only safe thing you can do is to exit the application. Trying to do anything else may lead to an unstable application, and an unstable application is typically some amount of work away from being an exploitable application.
Citation
Michael Howard; David LeBlanc; John Viega: 24 Deadly Sins of Software Security: Programming Flaws and How to Fix Them. CATCHING EXCEPTIONS, Chapter (McGraw-Hill Professional, 2010), AccessEngineering Export