Skip to Content
Secure Programming with Static Analysis
book

Secure Programming with Static Analysis

by Brian Chess, Jacob West
June 2007
Intermediate to advanced
624 pages
16h 18m
English
Addison-Wesley Professional
Content preview from Secure Programming with Static Analysis

8. Errors and Exceptions

What could possible go wrong?

–ANONYMOUS

Security problems often begin with an attacker finding a way to violate a programmer’s expectations. In general, programmers give less thought to error conditions and abnormal situations than they do to the expected case, which makes errors and exceptions a natural path for attackers to follow. In this chapter, we consider the security implications of common error and exception handling scenarios. Most of the mistakes discussed in this chapter do not lead directly to exploitable vulnerabilities the way buffer overflow or SQL injection does. Instead, they provide the conditions necessary for a later security failure.

More often than not, the language a program is written in dictates ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

You might also like

Secure Programming Cookbook for C and C++

Secure Programming Cookbook for C and C++

John Viega, Matt Messier
Secure Coding: Principles and Practices

Secure Coding: Principles and Practices

Mark G. Graff, Kenneth R. van Wyk
Hands-On Security in DevOps

Hands-On Security in DevOps

Tony Hsiang-Chih Hsu
Securing DevOps

Securing DevOps

Julien Vehent

Publisher Resources

ISBN: 9780321424778Purchase book