Chapter 9. Memory Management (MEM)

Recommendations and Rules


Risk Assessment Summary


Related Rules and Recommendations


MEM00-C. Allocate and free memory in the same module at the same level of abstraction

Dynamic memory management is a common source of programming flaws that can lead to security vulnerabilities. Decisions regarding how dynamic memory is allocated, used, and deallocated are the burden of the programmer. Poor memory management can ...

Get The CERT® C Secure Coding Standard now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.