We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a9b6b2c + 0d409b2 commit dbe51e0Copy full SHA for dbe51e0
1 file changed
cpp/ql/src/Critical/DescriptorNeverClosed.qhelp
@@ -6,15 +6,15 @@
6
7
<overview>
8
<p>
9
-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.
10
Leaving descriptors open will cause a resource leak that will persist even after the program terminates.
11
</p>
12
13
<include src="aliasAnalysisWarning.qhelp" />
14
</overview>
15
16
<recommendation>
17
-<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>
18
</recommendation>
19
20
<example>
0 commit comments