Skip to content

Commit ab6221d

Browse files
authored
Merge pull request #1388 from Semmle/xiemaisi-patch-1
CPP: Fix name of example file in qhelp.
2 parents 032a6b1 + 5f32e1f commit ab6221d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/src/Security/CWE/CWE-676/DangerousFunctionOverflow.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ rules</strong> below for rules that identify other dangerous functions.</p>
1717
</recommendation>
1818
<example>
1919
<p>The following example gets a string from standard input in two ways:</p>
20-
<sample src="DangerousUseOfGets" />
20+
<sample src="DangerousFunctionOverflow.c" />
2121

2222
<p>The first version uses <code>gets</code> and will overflow if the input
2323
is longer than the buffer. The second version of the code

0 commit comments

Comments
 (0)