Skip to content

Commit 06edb3f

Browse files
author
Porcupiney Hairs
committed
fix formatting issues
1 parent 85c751c commit 06edb3f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

cpp/ql/src/experimental/Security/CWE/CWE-285/PamAuthorization.qhelp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@
3030
<code>chage -E0 `username` </code>
3131
and then trying to log in.
3232
</p>
33-
<sample src="PamAuthorizationBad.c" />
33+
<sample src="PamAuthorizationBad.cpp" />
3434

3535
<p>
3636
This can be avoided by calling
3737
<code>pam_acct_mgmt</code>
3838
call to verify access as has been done in the snippet shown below.
3939
</p>
40-
<sample src="PamAuthorizationGood.c" />
40+
<sample src="PamAuthorizationGood.cpp" />
4141
</example>
4242

4343
<references>

cpp/ql/src/experimental/Security/CWE/CWE-285/PamAuthorization.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* @tags security
88
* external/cwe/cwe-285
99
*/
10+
1011
import cpp
1112
import semmle.code.cpp.dataflow.DataFlow
1213
import semmle.code.cpp.valuenumbering.GlobalValueNumbering

0 commit comments

Comments
 (0)