mirror of
https://github.com/github/codeql.git
synced 2025-12-21 19:26:31 +01:00
Merge pull request #2 from marcrepo/patch-2
Documentation update for Issue #2623
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
<overview>
|
<overview>
|
||||||
<p>
|
<p>
|
||||||
This rule finds calls to <code>open</code> or <code>socket</code> where there is no corresponding <code>close</code> call in the program analyzed.
|
This rule finds calls to <code>socket</code> where there is no corresponding <code>close</code> call in the program analyzed.
|
||||||
Leaving descriptors open will cause a resource leak that will persist even after the program terminates.
|
Leaving descriptors open will cause a resource leak that will persist even after the program terminates.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@@ -14,7 +14,7 @@ Leaving descriptors open will cause a resource leak that will persist even after
|
|||||||
</overview>
|
</overview>
|
||||||
|
|
||||||
<recommendation>
|
<recommendation>
|
||||||
<p>Ensure that all file or socket descriptors allocated by the program are freed before it terminates.</p>
|
<p>Ensure that all socket descriptors allocated by the program are freed before it terminates.</p>
|
||||||
</recommendation>
|
</recommendation>
|
||||||
|
|
||||||
<example>
|
<example>
|
||||||
|
|||||||
Reference in New Issue
Block a user