...
Some static analysis tools can detect cases where there is leak of a socket resource or leak of a stream representing a file or other system resources.
Tool | Version | Checker | Description |
---|---|---|---|
Coverity | 7.5 | ITERATOR JDBC_CONNECTION RESOURCE_LEAK | Implemented |
Related Guidelines
FIO42-CPP. Ensure files are properly closed when they are no longer needed | |
CWE-404. Improper resource shutdown or release | |
| CWE-459. Incomplete cleanup |
| CWE-770. Allocation of resources without limits or throttling |
| CWE-405. Asymmetric resource consumption (amplification) |
...