Skip to content

Commit ce02de4

Browse files
committed
C++: Fix Code Scanning error.
1 parent 6369006 commit ce02de4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/ql/src/Security/CWE/CWE-497/PotentiallyExposedSystemData.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ class PotentiallyExposedSystemDataConfiguration extends TaintTracking::Configura
4242
exists(OutputWrite ow, Expr child | child = ow.getASource().getAChild*() |
4343
// Most sinks receive a pointer as an argument (for example `printf`),
4444
// and we use an indirect sink for those.
45-
// However, some sinks (for example `puts`) receive receive a single
46-
// character as an argument. For those we have to use a direct sink.
45+
// However, some sinks (for example `puts`) receive a single character
46+
// as an argument. For those we have to use a direct sink.
4747
if
4848
child.getUnspecifiedType() instanceof PointerType or
4949
child.getUnspecifiedType() instanceof ArrayType

0 commit comments

Comments
 (0)