Skip to content

Commit dbe51e0

Browse files
authored
Merge pull request #2 from marcrepo/patch-2
Documentation update for Issue #2623
2 parents a9b6b2c + 0d409b2 commit dbe51e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/ql/src/Critical/DescriptorNeverClosed.qhelp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66

77
<overview>
88
<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.
9+
This rule finds calls to <code>socket</code> where there is no corresponding <code>close</code> call in the program analyzed.
1010
Leaving descriptors open will cause a resource leak that will persist even after the program terminates.
1111
</p>
1212

1313
<include src="aliasAnalysisWarning.qhelp" />
1414
</overview>
1515

1616
<recommendation>
17-
<p>Ensure that all file or socket descriptors allocated by the program are freed before it terminates.</p>
17+
<p>Ensure that all socket descriptors allocated by the program are freed before it terminates.</p>
1818
</recommendation>
1919

2020
<example>

0 commit comments

Comments
 (0)