Chapter 8: Memory Management

A chapter in the Linux Programming Bible; see the Table of Contents for more.


One of the most important topics in C is that of memory management. When you are writing server programs in Linux, as you will learn about in chapters 18 and 19, it becomes even more important due to the security implications of problems. This chapter covers issues of memory management, including security issues. You'll learn about the differences between dynamically- and statically-allocated memory, security issues including buffer overflow problems, linked lists as a way to deal with these security issues, parsing data in C (including even a rudimentary shell), and more.

Main Sections