fix formatting issues

This commit is contained in:
Porcupiney Hairs
2022-04-21 00:23:49 +05:30
parent 85c751cb7f
commit 06edb3f3a1
2 changed files with 3 additions and 2 deletions

View File

@@ -30,14 +30,14 @@
<code>chage -E0 `username` </code>
and then trying to log in.
</p>
<sample src="PamAuthorizationBad.c" />
<sample src="PamAuthorizationBad.cpp" />
<p>
This can be avoided by calling
<code>pam_acct_mgmt</code>
call to verify access as has been done in the snippet shown below.
</p>
<sample src="PamAuthorizationGood.c" />
<sample src="PamAuthorizationGood.cpp" />
</example>
<references>

View File

@@ -7,6 +7,7 @@
* @tags security
* external/cwe/cwe-285
*/
import cpp
import semmle.code.cpp.dataflow.DataFlow
import semmle.code.cpp.valuenumbering.GlobalValueNumbering