| Wiki Markup |
|---|
Failing to close files when they are no longer needed may allow attackers to exhaust and possibly manipulate system resources. This phenomenon is typically referred to as file descriptor leakage \[[CWE 403|http://cwe.mitre.org/data/definitions/403.html]\], although file thispointers canmay also affect file pointers be used as an attack vector. To prevent file descriptor leaks, file pointers and file descriptors should be closed when they are no longer needed. |
...
Failing to properly close open files may allow unintended access to system resources, or exhaust system resources.