Skip to content

Commit 0d409b2

Browse files
authored
Documentation update for Issue #2623
Changes based on Issue #2623 - DescriptorNeverClosed.ql identifies only sockets (not file handles)
1 parent 5d08a0e commit 0d409b2

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)