description
Secure coding with C is a top concern. Although the C programming language, which is commonly used in numerous applications and operating systems is popular, flexible, and versatile, it is inherently vulnerable to exploitation.
Writing a secure code is crucial. Because there is no direct method to handle the exception (no in-built try and catch such as in another high-level language like C#) in the C language, it becomes the responsibility of the C developer to become extra vigilant while writing code. This course begins with a detailed explanation of the overall security of any C application. Further, it provides insights on how to write better C code, particularly a secure code that prevents pitfalls commonly encountered in the C language.
Chapter 1: Introduction to C
Chapter 2: Preventing Buffer Overflows, Stack-Smashing, and Return-Oriented Programming Attacks
Chapter 3: Correctly Using Formatted Output Functions Without Introducing Format-String Vulnerabilities
Chapter 4: Securely Using Different Variable Types
Chapter 5: Understanding Issues with Pointers
Chapter 6: Performing Secure I/O and Avoiding File System Vulnerabilities