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 ...