ASVS Requirement 1.4.3
- Level: 2
- Chapter: V1 Encoding and Sanitization
- Section: V1.4 Memory, String, and Unmanaged Code
- Source: 0x10-V1-Encoding-and-Sanitization.md
Description
Verify that dynamically allocated memory and resources are released, and that references or pointers to freed memory are removed or set to null to prevent dangling pointers and use-after-free vulnerabilities.