Preventing Buffer Overflows
(for C programmers) |
Purpose of this Section |
What can cause buffer overflows? |
Careless use of buffers without bounds checking - Problem. |
Careless use of buffers without bounds checking - Consequences. |
Careless use of buffers without bounds checking - Recommendations. |
Formatting and logical errors – Problem. |
Formatting and logical errors – Consequences. |
Formatting and logical errors – Recommendations. |
Unsafe library function calls - Problem. |
Unsafe library function calls - Consequences. |
Unsafe library function calls - Recommendations. |
Off-by-one errors - Problem. |
Off-by-one errors - Consequences. |
Off-by-one errors - Recommendations. |
Old code used for new purposes - Problem. |
Old code used for new purposes - Consequences. |
Old code used for new purposes - Recommendations. |
All sorts of other far-fetched but deadly-serious things you should think about - Problem. |
All sorts of other far-fetched but deadly-serious things you should think about - Consequences. |
All sorts of other far-fetched but deadly-serious things you should think about - Recommendations. |
About this Project |